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 | b006fc9c07cd43ac0920594080f39b1cfa9c1d91 (patch) | |
| tree | e30820fa622d21ee51d791e16b23470a302d3b79 /llvm/test/CodeGen/ARM | |
| parent | 4bc41aee2bfc7bedc2e75453eb5cc443f6d204b1 (diff) | |
| download | bcm5719-llvm-b006fc9c07cd43ac0920594080f39b1cfa9c1d91.tar.gz bcm5719-llvm-b006fc9c07cd43ac0920594080f39b1cfa9c1d91.zip | |
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.
llvm-svn: 119725
Diffstat (limited to 'llvm/test/CodeGen/ARM')
| -rw-r--r-- | llvm/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/ARM/str_pre-2.ll | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll b/llvm/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll index 2789ccd5cf5..163c9b030ec 100644 --- a/llvm/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll +++ b/llvm/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/llvm/test/CodeGen/ARM/str_pre-2.ll b/llvm/test/CodeGen/ARM/str_pre-2.ll index 4f9ba4db4c2..a79cf9bf7f8 100644 --- a/llvm/test/CodeGen/ARM/str_pre-2.ll +++ b/llvm/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 |

