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

Jeff Cohen jeffc at jolt-lang.org
Mon Jan 8 12:17:36 PST 2007



Changes in directory llvm/lib/Transforms/Scalar:

InstructionCombining.cpp updated: 1.587 -> 1.588
---
Log message:

Unbreak VC++ build.

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

 InstructionCombining.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.587 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.588
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.587	Mon Jan  8 10:32:00 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp	Mon Jan  8 14:17:17 2007
@@ -1091,7 +1091,7 @@
       
       // If the top bit of the output is demanded, demand everything from the
       // input.  Otherwise, we demand all the input bits except NLZ top bits.
-      uint64_t InDemandedBits = ~0ULL >> 64-BitWidth+NLZ;
+      uint64_t InDemandedBits = ~0ULL >> (64-BitWidth+NLZ);
 
       // Find information about known zero/one bits in the input.
       if (SimplifyDemandedBits(I->getOperand(0), InDemandedBits, 






More information about the llvm-commits mailing list