aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMBaseRegisterInfo.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-12-11 23:31:12 +0000
committerJim Grosbach <grosbach@apple.com>2012-12-11 23:31:12 +0000
commitc8cd8aa9d8582d2632db8fee8b2932efcdec34f1 (patch)
treecf86ab80c838d232fe0438823e40527e6da06f1c /lib/Target/ARM/ARMBaseRegisterInfo.cpp
parent48aa2cf76da5f9354f84329de798e00cbe7206da (diff)
downloadexternal_llvm-c8cd8aa9d8582d2632db8fee8b2932efcdec34f1.zip
external_llvm-c8cd8aa9d8582d2632db8fee8b2932efcdec34f1.tar.gz
external_llvm-c8cd8aa9d8582d2632db8fee8b2932efcdec34f1.tar.bz2
ARM: Remove old testing option.
Pre-regalloc frame allocation and referencing has been on by default for ages. No need for the testing option that disables it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseRegisterInfo.cpp')
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/lib/Target/ARM/ARMBaseRegisterInfo.cpp
index 0585f6c..5946ee4 100644
--- a/lib/Target/ARM/ARMBaseRegisterInfo.cpp
+++ b/lib/Target/ARM/ARMBaseRegisterInfo.cpp
@@ -44,10 +44,6 @@
using namespace llvm;
-static cl::opt<bool>
-EnableLocalStackAlloc("enable-local-stack-alloc", cl::init(true), cl::Hidden,
- cl::desc("Enable pre-regalloc stack frame index allocation"));
-
ARMBaseRegisterInfo::ARMBaseRegisterInfo(const ARMBaseInstrInfo &tii,
const ARMSubtarget &sti)
: ARMGenRegisterInfo(ARM::LR), TII(tii), STI(sti),
@@ -401,7 +397,7 @@ requiresFrameIndexScavenging(const MachineFunction &MF) const {
bool ARMBaseRegisterInfo::
requiresVirtualBaseRegisters(const MachineFunction &MF) const {
- return EnableLocalStackAlloc;
+ return true;
}
static void