aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-12 01:52:23 +0000
committerChris Lattner <sabre@nondot.org>2011-01-12 01:52:23 +0000
commitd2e905027b3774bbc29562a5e3f64ad46bf6b0b8 (patch)
tree0d46b68d656c87ab0d3fb251e3caf2b1d2c3aca7 /lib/Transforms/Scalar
parent2d5c0cd197454408531cd53e4dd65a431e07ba6f (diff)
downloadexternal_llvm-d2e905027b3774bbc29562a5e3f64ad46bf6b0b8.zip
external_llvm-d2e905027b3774bbc29562a5e3f64ad46bf6b0b8.tar.gz
external_llvm-d2e905027b3774bbc29562a5e3f64ad46bf6b0b8.tar.bz2
revert r123146 which disabled code that wasn't the root cause
of the bootstrap miscompare issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r--lib/Transforms/Scalar/MemCpyOptimizer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/MemCpyOptimizer.cpp b/lib/Transforms/Scalar/MemCpyOptimizer.cpp
index 3327b76..41e10ba 100644
--- a/lib/Transforms/Scalar/MemCpyOptimizer.cpp
+++ b/lib/Transforms/Scalar/MemCpyOptimizer.cpp
@@ -391,8 +391,6 @@ Instruction *MemCpyOpt::tryMergingIntoMemset(Instruction *StartInst,
Ranges.addStore(Offset, NextStore);
} else {
- break;
-
MemSetInst *MSI = cast<MemSetInst>(BI);
if (MSI->isVolatile() || ByteVal != MSI->getValue() ||