[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Zhou Sheng
zhousheng00 at gmail.com
Tue Mar 27 20:02:39 PDT 2007
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.700 -> 1.701
---
Log message:
Remove unused APInt variable.
---
Diffs of the changes: (+0 -3)
InstructionCombining.cpp | 3 ---
1 files changed, 3 deletions(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.700 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.701
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.700 Tue Mar 27 21:19:03 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Tue Mar 27 22:02:21 2007
@@ -784,9 +784,6 @@
KnownZero = APIntOps::lshr(KnownZero, ShiftAmt);
KnownOne = APIntOps::lshr(KnownOne, ShiftAmt);
- // Handle the sign bits and adjust to where it is now in the mask.
- APInt SignBit(APInt::getSignBit(BitWidth).lshr(ShiftAmt));
-
APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt));
if (KnownZero[BitWidth-ShiftAmt-1]) // New bits are known zero.
KnownZero |= HighBits;
More information about the llvm-commits
mailing list