mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Rename getTypeForExtendedInteger() to getTypeForExtArgOrReturn().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1287,14 +1287,14 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/// getTypeForExtendedInteger - Return the type that should be used to zero or
|
||||
/// getTypeForExtArgOrReturn - Return the type that should be used to zero or
|
||||
/// sign extend a zeroext/signext integer argument or return value.
|
||||
/// FIXME: Most C calling convention requires the return type to be promoted,
|
||||
/// but this is not true all the time, e.g. i1 on x86-64. It is also not
|
||||
/// necessary for non-C calling conventions. The frontend should handle this
|
||||
/// and include all of the necessary information.
|
||||
virtual MVT
|
||||
getTypeForExtendedInteger(EVT VT, ISD::NodeType ExtendKind) const {
|
||||
getTypeForExtArgOrReturn(EVT VT, ISD::NodeType ExtendKind) const {
|
||||
return MVT::i32;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user