[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 29 19:49:49 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.88 -> 1.89
---
Log message:
pass the address of MaskedValueIsZero into isMaskedValueZeroForTargetNode,
to permit recursion
---
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.88 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.89
--- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.88 Sun Jan 29 00:00:45 2006
+++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Sun Jan 29 21:49:37 2006
@@ -462,7 +462,7 @@
return (Mask & (MVT::getSizeInBits(Op.getValueType())*2-1)) == 0;
default:
if (Op.getOpcode() >= ISD::BUILTIN_OP_END)
- return TLI.isMaskedValueZeroForTargetNode(Op, Mask);
+ return TLI.isMaskedValueZeroForTargetNode(Op, Mask, MaskedValueIsZero);
break;
}
return false;
More information about the llvm-commits
mailing list