summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU/SPUISelLowering.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-02-13 00:35:47 +0000
committerDan Gohman <gohman@apple.com>2008-02-13 00:35:47 +0000
commitf990faf23b750631a7fce0e03a54268181989711 (patch)
tree85dc6d977c8dccfa639f7ae0a17492d821ddc55c /llvm/lib/Target/CellSPU/SPUISelLowering.h
parent7022efbe7b4c319ad4df1702172da0a931e72aae (diff)
downloadbcm5719-llvm-f990faf23b750631a7fce0e03a54268181989711.tar.gz
bcm5719-llvm-f990faf23b750631a7fce0e03a54268181989711.zip
Convert SelectionDAG::ComputeMaskedBits to use APInt instead of uint64_t.
Add an overload that supports the uint64_t interface for use by clients that haven't been updated yet. llvm-svn: 47039
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUISelLowering.h')
-rw-r--r--llvm/lib/Target/CellSPU/SPUISelLowering.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUISelLowering.h b/llvm/lib/Target/CellSPU/SPUISelLowering.h
index d09848e4066..3abb9d17fac 100644
--- a/llvm/lib/Target/CellSPU/SPUISelLowering.h
+++ b/llvm/lib/Target/CellSPU/SPUISelLowering.h
@@ -108,9 +108,9 @@ 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,
+ APInt Mask,
+ APInt &KnownZero,
+ APInt &KnownOne,
const SelectionDAG &DAG,
unsigned Depth = 0) const;
OpenPOWER on IntegriCloud