diff options
author | Tim Northover <tnorthover@apple.com> | 2013-08-06 13:58:03 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-08-06 13:58:03 +0000 |
commit | 8775a51d94b277ca6ebe12a1d20bfc2bc5a53960 (patch) | |
tree | 93800f95cf3224cbf59c213c60b6a50e278fdace /lib/Target/ARM/ARMISelLowering.h | |
parent | 5f28b1ff894917aa626c38be206957294d0c47c7 (diff) | |
download | llvm-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.h | 3 |
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; |