We should be returning true here since we've changed the function.
authorOwen Anderson <resistor@mac.com>
Tue, 29 Apr 2008 21:02:46 +0000 (21:02 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 29 Apr 2008 21:02:46 +0000 (21:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50442 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/MemCpyOptimizer.cpp

index a845ee96660dbaf2c1c704a96b5df7f3580a7751..d2723ab342b2c97d519ae8566d73a23f9222001b 100644 (file)
@@ -677,7 +677,7 @@ bool MemCpyOpt::processMemCpy(MemCpyInst* M) {
   
   NumMemCpyInstr++;
   
-  return false;
+  return true;
 }
 
 // MemCpyOpt::runOnFunction - This is the main transformation entry point for a