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

llvm-svn: 112127
This commit is contained in:
Jim Grosbach 2010-08-26 00:58:06 +00:00
parent e3d87d21f3
commit 08da771ec3
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