diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-11 17:35:48 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-11 17:35:48 +0000 |
commit | f8fce711e8b756adca63044f7d122648c960ab96 (patch) | |
tree | e5cadd1649f89ea8fbd761226a48d3a601b343a5 /test/CodeGen/ARM | |
parent | dceb002f826db10e260a7843e12a48b9fadde349 (diff) | |
download | llvm-f8fce711e8b756adca63044f7d122648c960ab96.tar.gz llvm-f8fce711e8b756adca63044f7d122648c960ab96.tar.bz2 llvm-f8fce711e8b756adca63044f7d122648c960ab96.tar.xz |
ARM pop of a single register encodes as post-indexed LDR.
Per the ARM ARM, a 'pop' of a single register encodes as an LDR,
not an LDM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r-- | test/CodeGen/ARM/str_pre-2.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/str_pre-2.ll b/test/CodeGen/ARM/str_pre-2.ll index b24f75a6e2..8d0c7a5fe1 100644 --- a/test/CodeGen/ARM/str_pre-2.ll +++ b/test/CodeGen/ARM/str_pre-2.ll @@ -8,7 +8,7 @@ define i64 @t(i64 %a) nounwind readonly { entry: ; CHECK: str lr, [sp, #-4]! -; CHECK: ldr lr, [sp], #4 +; CHECK: pop {lr} %0 = load i64** @b, align 4 %1 = load i64* %0, align 4 %2 = mul i64 %1, %a |