summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/globals.ll
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-03-17 17:52:21 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-03-17 17:52:21 +0000
commit9e08876a2ae329feb7a76dbfe33666cb58033c00 (patch)
tree436813e36b90abc43c404faaf6db8bdd8d05acb7 /test/CodeGen/ARM/globals.ll
parentb0a72ec2eb7843b5feca7cd22450903988f0e368 (diff)
downloadllvm-9e08876a2ae329feb7a76dbfe33666cb58033c00.tar.gz
llvm-9e08876a2ae329feb7a76dbfe33666cb58033c00.tar.bz2
llvm-9e08876a2ae329feb7a76dbfe33666cb58033c00.tar.xz
Added sub-formats to the NeonI/NeonXI instructions to further refine the NEONFrm
instructions to help disassembly. We also changed the output of the addressing modes to omit the '+' from the assembler syntax #+/-<imm> or +/-<Rm>. See, for example, A8.6.57/58/60. And modified test cases to not expect '+' in +reg or #+num. For example, ; CHECK: ldr.w r9, [r7, #28] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/globals.ll')
-rw-r--r--test/CodeGen/ARM/globals.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/globals.ll b/test/CodeGen/ARM/globals.ll
index 886c0d55cf..adb4497397 100644
--- a/test/CodeGen/ARM/globals.ll
+++ b/test/CodeGen/ARM/globals.ll
@@ -41,7 +41,7 @@ define i32 @test1() {
; DarwinPIC: _test1:
; DarwinPIC: ldr r0, LCPI1_0
; DarwinPIC: LPC1_0:
-; DarwinPIC: ldr r0, [pc, +r0]
+; DarwinPIC: ldr r0, [pc, r0]
; DarwinPIC: ldr r0, [r0]
; DarwinPIC: bx lr
@@ -63,7 +63,7 @@ define i32 @test1() {
; LinuxPIC: .LPC1_0:
; LinuxPIC: add r0, pc, r0
-; LinuxPIC: ldr r0, [r1, +r0]
+; LinuxPIC: ldr r0, [r1, r0]
; LinuxPIC: ldr r0, [r0]
; LinuxPIC: bx lr