summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-02 06:26:07 +0000
committerChris Lattner <sabre@nondot.org>2006-04-02 06:26:07 +0000
commitc5287c0ece1e6f5b0cc0ee7310d25fd278e24362 (patch)
tree80899d38a5ac9c6946ab55ea3d199f44711742fb /llvm/lib/Target/PowerPC/PPCISelLowering.h
parent6c1321ca3f9a5805b931b0fc177bbba82246a03e (diff)
downloadbcm5719-llvm-c5287c0ece1e6f5b0cc0ee7310d25fd278e24362.tar.gz
bcm5719-llvm-c5287c0ece1e6f5b0cc0ee7310d25fd278e24362.zip
Inform the dag combiner that the predicate compares only return a low bit.
llvm-svn: 27359
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h
index bc865c6cb4b..2fe79ece8c6 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.h
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h
@@ -133,6 +133,11 @@ namespace llvm {
virtual SDOperand PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const;
+ virtual void computeMaskedBitsForTargetNode(const SDOperand Op,
+ uint64_t Mask,
+ uint64_t &KnownZero,
+ uint64_t &KnownOne,
+ unsigned Depth = 0) const;
/// LowerArguments - This hook must be implemented to indicate how we should
/// lower the arguments for the specified function, into the specified DAG.
virtual std::vector<SDOperand>
OpenPOWER on IntegriCloud