diff options
author | Eric Christopher <echristo@apple.com> | 2010-11-18 19:40:05 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-11-18 19:40:05 +0000 |
commit | 8b3ca6216d62bf3f729c2e122dcfeb7c4d7500dc (patch) | |
tree | 262f781c67f1e51596bb314659ad97093d142d97 /test | |
parent | 9fe010ecf885b82ca16c3f1e3caf72b9823377f3 (diff) | |
download | external_llvm-8b3ca6216d62bf3f729c2e122dcfeb7c4d7500dc.zip external_llvm-8b3ca6216d62bf3f729c2e122dcfeb7c4d7500dc.tar.gz external_llvm-8b3ca6216d62bf3f729c2e122dcfeb7c4d7500dc.tar.bz2 |
Rewrite stack callee saved spills and restores to use push/pop instructions.
Remove movePastCSLoadStoreOps and associated code for simple pointer
increments. Update routines that depended upon other opcodes for save/restore.
Adjust all testcases accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/ARM/str_pre-2.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll b/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll index 2789ccd..163c9b0 100644 --- a/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll +++ b/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll @@ -3,7 +3,7 @@ ; LDM instruction, was causing an assertion failure because the microop count ; was being treated as an instruction count. -; CHECK: ldmia +; CHECK: push ; CHECK: ldmia ; CHECK: ldmia ; CHECK: ldmia diff --git a/test/CodeGen/ARM/str_pre-2.ll b/test/CodeGen/ARM/str_pre-2.ll index 4f9ba4d..a79cf9b 100644 --- a/test/CodeGen/ARM/str_pre-2.ll +++ b/test/CodeGen/ARM/str_pre-2.ll @@ -4,8 +4,8 @@ define i64 @t(i64 %a) nounwind readonly { entry: -; CHECK: str lr, [sp, #-4]! -; CHECK: ldr lr, [sp], #4 +; CHECK: push {lr} +; CHECK: ldmia sp!, {pc} %0 = load i64** @b, align 4 %1 = load i64* %0, align 4 %2 = mul i64 %1, %a diff --git a/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll b/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll index f91e1c9..12b4975 100644 --- a/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll +++ b/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll @@ -39,7 +39,7 @@ entry: ; CHECK: ittt eq ; CHECK: moveq r0 ; CHECK-NOT: LBB0_ -; CHECK: ldreq +; CHECK: popeq ; CHECK: popeq switch i32 undef, label %bb7 [ i32 37, label %bb43 |