[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LICM.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 14 19:34:52 PDT 2004



Changes in directory llvm/lib/Transforms/Scalar:

LICM.cpp updated: 1.66 -> 1.67
---
Log message:

Fix a bug in the previous checkin that broke 255.vortex


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Transforms/Scalar/LICM.cpp
diff -u llvm/lib/Transforms/Scalar/LICM.cpp:1.66 llvm/lib/Transforms/Scalar/LICM.cpp:1.67
--- llvm/lib/Transforms/Scalar/LICM.cpp:1.66	Tue Sep 14 20:04:07 2004
+++ llvm/lib/Transforms/Scalar/LICM.cpp	Tue Sep 14 21:34:40 2004
@@ -643,7 +643,7 @@
           LoadValue = LI;
           break;
         } else if (StoreInst *SI = dyn_cast<StoreInst>(*UI)) {
-          if (SI->getOperand(1) == LI) {
+          if (SI->getOperand(1) == Ptr) {
             LoadValue = SI->getOperand(0);
             break;
           }






More information about the llvm-commits mailing list