forked from OSchip/llvm-project
Enable pre-RA virtual frame base register allocation. rdar://8277890
llvm-svn: 112127
This commit is contained in:
parent
e3d87d21f3
commit
08da771ec3
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue