diff options
author | Dan Gohman <djg@cray.com> | 2008-02-13 00:35:47 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2008-02-13 00:35:47 +0000 |
commit | 229fa05f26826290b9d128e7f6ffbc4889478c25 (patch) | |
tree | e5e0f130f319e6ca5b13c194d6e778460171db42 /include/llvm/Target/TargetLowering.h | |
parent | 576dc02040d8c3cead1418c184b9693e9996291e (diff) | |
download | external_llvm-229fa05f26826290b9d128e7f6ffbc4889478c25.zip external_llvm-229fa05f26826290b9d128e7f6ffbc4889478c25.tar.gz external_llvm-229fa05f26826290b9d128e7f6ffbc4889478c25.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLowering.h')
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index ee3b272..d81dacf 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -627,9 +627,9 @@ public: /// Mask are known to be either zero or one and return them in the /// KnownZero/KnownOne bitsets. 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; |