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/CodeGen/ARM | |
| parent | 9fe010ecf885b82ca16c3f1e3caf72b9823377f3 (diff) | |
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/CodeGen/ARM')
| -rw-r--r-- | test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll | 2 | ||||
| -rw-r--r-- | test/CodeGen/ARM/str_pre-2.ll | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll b/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll index 2789ccd5cf..163c9b030e 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 4f9ba4db4c..a79cf9bf7f 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 |
