Enable pre-RA virtual frame base register allocation. rdar://8277890

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2010-08-26 00:58:06 +00:00
parent b4e3cda118
commit ae47c6d69e
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ static cl::opt<bool>
ForceAllBaseRegAlloc("arm-force-base-reg-alloc", cl::Hidden, cl::init(false),
cl::desc("Force use of virtual base registers for stack load/store"));
static cl::opt<bool>
EnableLocalStackAlloc("enable-local-stack-alloc", cl::init(false), cl::Hidden,
EnableLocalStackAlloc("enable-local-stack-alloc", cl::init(true), cl::Hidden,
cl::desc("Enable pre-regalloc stack frame index allocation"));
}

View File

@ -20,8 +20,8 @@ define void @test2() {
define i32 @test3() {
; CHECK: test3:
; CHECK: ldr r1, LCPI
; CHECK: add sp, r1
; CHECK: ldr r2, LCPI
; CHECK: add sp, r2
; CHECK: ldr r1, LCPI
; CHECK: add r1, sp
; CHECK: mov sp, r7