aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/ldm.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/ldm.ll
parent899eaa35696bb0a9a625acd70a14876834af6cc5 (diff)
downloadexternal_llvm-dd11988c999c23eba2467e35892a2f42858c886b.zip
external_llvm-dd11988c999c23eba2467e35892a2f42858c886b.tar.gz
external_llvm-dd11988c999c23eba2467e35892a2f42858c886b.tar.bz2
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/ldm.ll')
-rw-r--r--test/CodeGen/ARM/ldm.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/ldm.ll b/test/CodeGen/ARM/ldm.ll
index 2f1b85e..db78fd0 100644
--- a/test/CodeGen/ARM/ldm.ll
+++ b/test/CodeGen/ARM/ldm.ll
@@ -5,9 +5,9 @@
define i32 @t1() {
; CHECK: t1:
-; CHECK: ldmia
+; CHECK: pop
; V4T: t1:
-; V4T: ldmia
+; V4T: pop
%tmp = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 0) ; <i32> [#uses=1]
%tmp3 = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 1) ; <i32> [#uses=1]
%tmp4 = tail call i32 @f1( i32 %tmp, i32 %tmp3 ) ; <i32> [#uses=1]
@@ -16,9 +16,9 @@ define i32 @t1() {
define i32 @t2() {
; CHECK: t2:
-; CHECK: ldmia
+; CHECK: pop
; V4T: t2:
-; V4T: ldmia
+; V4T: pop
%tmp = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 2) ; <i32> [#uses=1]
%tmp3 = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 3) ; <i32> [#uses=1]
%tmp5 = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 4) ; <i32> [#uses=1]
@@ -29,7 +29,7 @@ define i32 @t2() {
define i32 @t3() {
; CHECK: t3:
; CHECK: ldmib
-; CHECK: ldmia sp!
+; CHECK: pop
; V4T: t3:
; V4T: ldmib
; V4T: pop