diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-05-12 21:22:37 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-05-12 21:22:37 +0000 |
commit | d5491ab1f9a9dff712d9cd14744f50c2f112784e (patch) | |
tree | f6d03eb3f6ee4105deee0e1443e9c6d3aa58e390 /llvm/test/CodeGen/ARM/inlineasm-ldr-pseudo.ll | |
parent | 3f126138a1fc1e2ad3add460c420cf211b08ce23 (diff) | |
download | bcm5719-llvm-d5491ab1f9a9dff712d9cd14744f50c2f112784e.tar.gz bcm5719-llvm-d5491ab1f9a9dff712d9cd14744f50c2f112784e.zip |
[ARM] Fixup tests to take into account mov translation. NFC.
Alter instances in the test-suite that use immediates that can be represented
in the immediate field of a MOV. The reason for doing this is that when the
LDR rt,=imm transformation to MOV rt, imm the existing tests do not need to
be modified.
Required by the patch that fixes PR25722.
Patch by Peter Smith.
llvm-svn: 269353
Diffstat (limited to 'llvm/test/CodeGen/ARM/inlineasm-ldr-pseudo.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/inlineasm-ldr-pseudo.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/inlineasm-ldr-pseudo.ll b/llvm/test/CodeGen/ARM/inlineasm-ldr-pseudo.ll index f63e4b0b3a1..98665f056a2 100644 --- a/llvm/test/CodeGen/ARM/inlineasm-ldr-pseudo.ll +++ b/llvm/test/CodeGen/ARM/inlineasm-ldr-pseudo.ll @@ -9,9 +9,9 @@ ; CHECK: 0: 00 00 9f e5 ldr r0, [pc] ; CHECK: 4: 0e f0 a0 e1 mov pc, lr ; Make sure the constant pool entry comes after the return -; CHECK: 8: 01 00 00 00 +; CHECK: 8: 78 56 34 12 define i32 @foo() nounwind { entry: - %0 = tail call i32 asm sideeffect "ldr $0,=1", "=r"() nounwind + %0 = tail call i32 asm sideeffect "ldr $0,=0x12345678", "=r"() nounwind ret i32 %0 } |