summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-03-17 14:21:56 +0000
committerCameron Zwarich <zwarich@apple.com>2011-03-17 14:21:56 +0000
commit44579680111b807613703ab401db3b8c0148e36c (patch)
tree24dd0e96f7c0be0cd84600f9e6250fa4b1f7e6b7 /include
parent1ace169c3d2ffd6596e0533c37df206430e8b707 (diff)
downloadllvm-44579680111b807613703ab401db3b8c0148e36c.tar.gz
llvm-44579680111b807613703ab401db3b8c0148e36c.tar.bz2
llvm-44579680111b807613703ab401db3b8c0148e36c.tar.xz
Rename getTypeForExtendedInteger() to getTypeForExtArgOrReturn().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index f257b035b8..bf1188ffdf 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -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;
}