Rename ConstantSDNode::getValue to getZExtValue, for consistency

with ConstantInt. This led to fixing a bug in TargetLowering.cpp
using getValue instead of getAPIntValue.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2008-09-12 16:56:44 +00:00
parent 0e3b7b2f91
commit f5aeb1a8e4
44 changed files with 542 additions and 482 deletions

View File

@@ -1715,7 +1715,7 @@ protected:
public:
const APInt &getAPIntValue() const { return Value; }
uint64_t getValue() const { return Value.getZExtValue(); }
uint64_t getZExtValue() const { return Value.getZExtValue(); }
int64_t getSignExtended() const {
unsigned Bits = getValueType(0).getSizeInBits();