mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 13:46:13 +00:00
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:
parent
b4e3cda118
commit
ae47c6d69e
@ -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
Block a user