summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-03-11 22:51:41 +0000
committerJim Grosbach <grosbach@apple.com>2011-03-11 22:51:41 +0000
commitdd11988c999c23eba2467e35892a2f42858c886b (patch)
tree29e522eb87f87f39d23b303e673313eb8d1edab0 /test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll
parent899eaa35696bb0a9a625acd70a14876834af6cc5 (diff)
Properly pseudo-ize the ARM LDMIA_RET instruction. This has the nice side-
effect that we get proper instruction printing using the "pop" mnemonic for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll')
-rw-r--r--test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll b/test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll
index d9e1a1486a3..fee86008ad7 100644
--- a/test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll
+++ b/test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll
@@ -6,7 +6,7 @@ define i32 @bar(i32 %a) nounwind {
entry:
%0 = tail call i32 @foo(i32 %a) nounwind ; <i32> [#uses=1]
%1 = add nsw i32 %0, 3 ; <i32> [#uses=1]
-; CHECK: ldmia sp!, {r11, pc}
+; CHECK: pop {r11, pc}
; V4: pop
; V4-NEXT: mov pc, lr
ret i32 %1