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 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits