diff options
| author | Dan Gohman <gohman@apple.com> | 2008-09-12 16:56:44 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-09-12 16:56:44 +0000 |
| commit | faeb4a35197737b3674fcfc34fd6e84220aa437b (patch) | |
| tree | 26c1d701871fd86197411a728c2dfde5c805254b /include/llvm/CodeGen/SelectionDAGNodes.h | |
| parent | 5d77fbd252c753afed0ff22ff2fdfbc0afacaf96 (diff) | |
| download | external_llvm-faeb4a35197737b3674fcfc34fd6e84220aa437b.zip external_llvm-faeb4a35197737b3674fcfc34fd6e84220aa437b.tar.gz external_llvm-faeb4a35197737b3674fcfc34fd6e84220aa437b.tar.bz2 | |
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
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
| -rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 7835f8c..33bd4e3 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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(); |
