Remove accidentally duplicated code.

llvm-svn: 49418
This commit is contained in:
Owen Anderson 2008-04-09 07:55:01 +00:00
parent 0515472470
commit 8ee792d1b6
1 changed files with 0 additions and 4 deletions

View File

@ -1586,10 +1586,6 @@ bool GVN::processInstruction(Instruction *I, ValueNumberedSet &currAvail,
if (isa<AllocationInst>(I)) if (isa<AllocationInst>(I))
return false; return false;
// Allocations are always unique, so don't bother value numbering them.
if (isa<AllocationInst>(I))
return false;
if (MemCpyInst* M = dyn_cast<MemCpyInst>(I)) { if (MemCpyInst* M = dyn_cast<MemCpyInst>(I)) {
MemoryDependenceAnalysis& MD = getAnalysis<MemoryDependenceAnalysis>(); MemoryDependenceAnalysis& MD = getAnalysis<MemoryDependenceAnalysis>();