diff options
| author | Dale Johannesen <dalej@apple.com> | 2010-08-04 18:07:17 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2010-08-04 18:07:17 +0000 |
| commit | 21f13209f896d5a21e0804e89b57e097c9399b78 (patch) | |
| tree | 721901e47694e2246563bada2c7c458e3e4395b0 | |
| parent | 2bf0f3ceff062ef41b08c62f6d675ac65c72b7b9 (diff) | |
| download | bcm5719-llvm-21f13209f896d5a21e0804e89b57e097c9399b78.tar.gz bcm5719-llvm-21f13209f896d5a21e0804e89b57e097c9399b78.zip | |
Remove switch for disabling ARM tail calls. They
seem to be working correctly. No functional change.
llvm-svn: 110226
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 92fb442ac75..db550b1c429 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -51,12 +51,6 @@ using namespace llvm; STATISTIC(NumTailCalls, "Number of tail calls"); -// This option should go away when tail calls fully work. -static cl::opt<bool> -EnableARMTailCalls("arm-tail-calls", cl::Hidden, - cl::desc("Generate tail calls (TEMPORARY OPTION)."), - cl::init(true)); - // This option should go away when Machine LICM is smart enough to hoist a // reg-to-reg VDUP. static cl::opt<bool> @@ -1123,9 +1117,6 @@ ARMTargetLowering::LowerCall(SDValue Chain, SDValue Callee, MachineFunction &MF = DAG.getMachineFunction(); bool IsStructRet = (Outs.empty()) ? false : Outs[0].Flags.isSRet(); bool IsSibCall = false; - // Temporarily disable tail calls so things don't break. - if (!EnableARMTailCalls) - isTailCall = false; if (isTailCall) { // Check if it's really possible to do a tail call. isTailCall = IsEligibleForTailCallOptimization(Callee, CallConv, |

