summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-08-06 13:58:03 +0000
committerTim Northover <tnorthover@apple.com>2013-08-06 13:58:03 +0000
commit8775a51d94b277ca6ebe12a1d20bfc2bc5a53960 (patch)
tree93800f95cf3224cbf59c213c60b6a50e278fdace /lib/Target/ARM/ARMISelLowering.h
parent5f28b1ff894917aa626c38be206957294d0c47c7 (diff)
downloadllvm-8775a51d94b277ca6ebe12a1d20bfc2bc5a53960.tar.gz
llvm-8775a51d94b277ca6ebe12a1d20bfc2bc5a53960.tar.bz2
llvm-8775a51d94b277ca6ebe12a1d20bfc2bc5a53960.tar.xz
ARM: implement allowTruncateForTailCall
Now that it's in place, it seems silly not to let ARM make use of the extra tail call opportunities. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--lib/Target/ARM/ARMISelLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.h b/lib/Target/ARM/ARMISelLowering.h
index beba5ce771..44c769f822 100644
--- a/lib/Target/ARM/ARMISelLowering.h
+++ b/lib/Target/ARM/ARMISelLowering.h
@@ -298,6 +298,9 @@ namespace llvm {
using TargetLowering::isZExtFree;
virtual bool isZExtFree(SDValue Val, EVT VT2) const;
+ virtual bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const;
+
+
/// isLegalAddressingMode - Return true if the addressing mode represented
/// by AM is legal for this target, for a load/store of the specified type.
virtual bool isLegalAddressingMode(const AddrMode &AM, Type *Ty)const;