summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-08-04 18:07:17 +0000
committerDale Johannesen <dalej@apple.com>2010-08-04 18:07:17 +0000
commita54db0c48597d68e54528d0ae129f1f1ea4c0b50 (patch)
treed1925522b3689dc28ef70d5839485f53a32336bb /lib
parent5c1d941f00a3cdb4bdcefa95b4ff34ae8922cf15 (diff)
downloadllvm-a54db0c48597d68e54528d0ae129f1f1ea4c0b50.tar.gz
llvm-a54db0c48597d68e54528d0ae129f1f1ea4c0b50.tar.bz2
llvm-a54db0c48597d68e54528d0ae129f1f1ea4c0b50.tar.xz
Remove switch for disabling ARM tail calls. They
seem to be working correctly. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 92fb442ac7..db550b1c42 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/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,