diff options
author | Owen Anderson <resistor@mac.com> | 2008-04-09 07:55:01 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-04-09 07:55:01 +0000 |
commit | 82a66291b0a0b75016ef3cb638721503565c43d0 (patch) | |
tree | 80b2b6c7ff87e1535656ea0c3e78ce6bcde05ed9 | |
parent | a541931ddb43191daea4217faa4762934d8bc169 (diff) |
Remove accidentally duplicated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49418 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/GVN.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index 91f72c4ba6..082c36192a 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -1586,10 +1586,6 @@ bool GVN::processInstruction(Instruction *I, ValueNumberedSet &currAvail, if (isa<AllocationInst>(I)) 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)) { MemoryDependenceAnalysis& MD = getAnalysis<MemoryDependenceAnalysis>(); |