summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-06-18 19:00:18 +0000
committerDale Johannesen <dalej@apple.com>2010-06-18 19:00:18 +0000
commitc66cdf74a9f1ee12cb9bff39cbd6bc518fbc2d3e (patch)
tree202dd9a0b8b2c93ff8c1f1b5a0c22641bf9517d2 /lib
parent71f095b20a2b1710d35b81fced4ae8b2ca1a6f61 (diff)
downloadllvm-c66cdf74a9f1ee12cb9bff39cbd6bc518fbc2d3e.tar.gz
llvm-c66cdf74a9f1ee12cb9bff39cbd6bc518fbc2d3e.tar.bz2
llvm-c66cdf74a9f1ee12cb9bff39cbd6bc518fbc2d3e.tar.xz
Enable tail calls on ARM by default, with some
basic tests. This has been well tested on Darwin but not elsewhere. It should work provided the linker correctly resolves B.W <label in other function> which it has not seen before, at least from llvm-based compilers. I'm leaving the arm-tail-calls switch in until I see if there's any problems because of that; it might need to be disabled for some environments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 50258c6f85..216ba6578e 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -55,7 +55,7 @@ STATISTIC(NumTailCalls, "Number of tail calls");
static cl::opt<bool>
EnableARMTailCalls("arm-tail-calls", cl::Hidden,
cl::desc("Generate tail calls (TEMPORARY OPTION)."),
- cl::init(false));
+ cl::init(true));
static cl::opt<bool>
EnableARMLongCalls("arm-long-calls", cl::Hidden,