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

Zhou Sheng zhousheng00 at gmail.com
Tue Mar 13 20:21:41 PDT 2007



Changes in directory llvm/lib/Transforms/Scalar:

InstructionCombining.cpp updated: 1.659 -> 1.660
---
Log message:

Enable KnownZero/One.clear().


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

 InstructionCombining.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.659 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.660
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.659	Tue Mar 13 09:27:42 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp	Tue Mar 13 22:21:24 2007
@@ -1598,8 +1598,8 @@
     return false;
   }
   
-  //KnownZero.clear(); 
-  //KnownOne.clear();
+  KnownZero.clear(); 
+  KnownOne.clear();
   if (!V->hasOneUse()) {    // Other users may use these bits.
     if (Depth != 0) {       // Not at the root.
       // Just compute the KnownZero/KnownOne bits to simplify things downstream.






More information about the llvm-commits mailing list