mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user