Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.728 -> 1.729
---
Log message:
Fix comment.
---
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.728
llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.729
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.728 Tue Apr 3
18:29:39 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Wed Apr 4 01:42:45 2007
@@ -4903,7 +4903,7 @@
const APInt &RHSV = RHS->getValue();
switch (LHSI->getOpcode()) {
- case Instruction::Xor: // (icmp pred (and X, XorCST), CI)
+ case Instruction::Xor: // (icmp pred (xor X, XorCST), CI)
if (ConstantInt *XorCST = dyn_cast<ConstantInt>(LHSI->getOperand(1))) {
// If this is a comparison that tests the signbit (X < 0) or (x > -1),
// fold the xor.
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits