summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/ldr-pseudo-obj-errors.s
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2016-05-12 21:22:37 +0000
committerRenato Golin <renato.golin@linaro.org>2016-05-12 21:22:37 +0000
commitd5491ab1f9a9dff712d9cd14744f50c2f112784e (patch)
treef6d03eb3f6ee4105deee0e1443e9c6d3aa58e390 /llvm/test/MC/ARM/ldr-pseudo-obj-errors.s
parent3f126138a1fc1e2ad3add460c420cf211b08ce23 (diff)
downloadbcm5719-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/MC/ARM/ldr-pseudo-obj-errors.s')
-rw-r--r--llvm/test/MC/ARM/ldr-pseudo-obj-errors.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/ARM/ldr-pseudo-obj-errors.s b/llvm/test/MC/ARM/ldr-pseudo-obj-errors.s
index dce88f058f8..a2884853cea 100644
--- a/llvm/test/MC/ARM/ldr-pseudo-obj-errors.s
+++ b/llvm/test/MC/ARM/ldr-pseudo-obj-errors.s
@@ -10,8 +10,8 @@
.text
foo:
- ldr r0, =0x101
+ ldr r0, =0x12345678
.space 8000
@ CHECK: error: out of range pc-relative fixup value
-@ CHECK: ldr r0, =0x101
+@ CHECK: ldr r0, =0x12345678
@ CHECK: ^
OpenPOWER on IntegriCloud