[llvm-commits] [llvm] r50442 - /llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp

Owen Anderson resistor at mac.com
Tue Apr 29 14:02:46 PDT 2008


Author: resistor
Date: Tue Apr 29 16:02:46 2008
New Revision: 50442

URL: http://llvm.org/viewvc/llvm-project?rev=50442&view=rev
Log:
We should be returning true here since we've changed the function.

Modified:
    llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp?rev=50442&r1=50441&r2=50442&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp Tue Apr 29 16:02:46 2008
@@ -677,7 +677,7 @@
   
   NumMemCpyInstr++;
   
-  return false;
+  return true;
 }
 
 // MemCpyOpt::runOnFunction - This is the main transformation entry point for a





More information about the llvm-commits mailing list