[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 10 09:52:15 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.25 -> 1.26
---
Log message:
Fix comment
---
Diffs of the changes: (+1 -1)
DAGCombiner.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.25 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.26
--- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.25 Mon Oct 10 11:51:40 2005
+++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Mon Oct 10 11:52:03 2005
@@ -216,7 +216,7 @@
}
return false;
case ISD::ADD:
- // (add X, Y) & C == 0 iff (X&C)&(Y&C) == 0 and all bits are low bits.
+ // (add X, Y) & C == 0 iff (X&C)|(Y&C) == 0 and all bits are low bits.
if ((Mask&(Mask+1)) == 0) { // All low bits
if (MaskedValueIsZero(Op.getOperand(0), Mask, TLI) &&
MaskedValueIsZero(Op.getOperand(1), Mask, TLI))
More information about the llvm-commits
mailing list