[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 29 19:48:48 PST 2006
Changes in directory llvm/include/llvm/Target:
TargetLowering.h updated: 1.42 -> 1.43
---
Log message:
Pass the address of the main MaskedValueIsZero function to allow recursion.
---
Diffs of the changes: (+5 -3)
TargetLowering.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.42 llvm/include/llvm/Target/TargetLowering.h:1.43
--- llvm/include/llvm/Target/TargetLowering.h:1.42 Sun Jan 29 02:40:37 2006
+++ llvm/include/llvm/Target/TargetLowering.h Sun Jan 29 21:48:36 2006
@@ -414,9 +414,11 @@
/// isMaskedValueZeroForTargetNode - Return true if 'Op & Mask' is known to
/// be zero. Op is expected to be a target specific node. Used by DAG
- /// combiner.
- virtual bool isMaskedValueZeroForTargetNode(const SDOperand &Op,
- uint64_t Mask) const;
+ /// combiner. MVIZ is a function pointer to the main MaskedValueIsZero
+ /// function.
+ typedef bool (*MVIZFnPtr)(const SDOperand&, uint64_t, const TargetLowering &);
+ virtual bool isMaskedValueZeroForTargetNode(const SDOperand &Op,uint64_t Mask,
+ MVIZFnPtr MVIZ) const;
//===--------------------------------------------------------------------===//
// Inline Asm Support hooks
More information about the llvm-commits
mailing list