diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-10-07 17:17:49 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-10-07 17:17:49 +0000 |
commit | 6d2f9cec715c50bca44816d9bdea97f8b63bf2a0 (patch) | |
tree | ca892fc76f4fa7e32753e4f85628c58af79b57f8 /lib/Target/ARM/ARMSubtarget.h | |
parent | 2fef4573df6fd645f4401302d21c16e72418e3a8 (diff) | |
download | llvm-6d2f9cec715c50bca44816d9bdea97f8b63bf2a0.tar.gz llvm-6d2f9cec715c50bca44816d9bdea97f8b63bf2a0.tar.bz2 llvm-6d2f9cec715c50bca44816d9bdea97f8b63bf2a0.tar.xz |
Reenable tail calls for iOS 5.0 and later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 47e076a7f1..b63e1085fb 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -93,6 +93,11 @@ protected: /// imms (including global addresses). bool UseMovt; + /// SupportsTailCall - True if the OS supports tail call. The dynamic linker + /// must be able to synthesize call stubs for interworking between ARM and + /// Thumb. + bool SupportsTailCall; + /// HasFP16 - True if subtarget supports half-precision FP (We support VFP+HF /// only so far) bool HasFP16; @@ -234,6 +239,7 @@ protected: bool isR9Reserved() const { return IsR9Reserved; } bool useMovt() const { return UseMovt && hasV6T2Ops(); } + bool supportsTailCall() const { return SupportsTailCall; } bool allowsUnalignedMem() const { return AllowsUnalignedMem; } |