diff options
Diffstat (limited to 'test/MC/ARM/hilo-16bit-relocations.s')
-rw-r--r-- | test/MC/ARM/hilo-16bit-relocations.s | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/MC/ARM/hilo-16bit-relocations.s b/test/MC/ARM/hilo-16bit-relocations.s index 46039e5..7d6b498 100644 --- a/test/MC/ARM/hilo-16bit-relocations.s +++ b/test/MC/ARM/hilo-16bit-relocations.s @@ -1,14 +1,13 @@ -@ RUN: llvm-mc %s -triple armv7-apple-darwin -show-encoding | FileCheck %s +@ RUN: llvm-mc %s -triple armv7-apple-darwin | FileCheck %s +@ RUN: llvm-mc %s -triple armv7-apple-darwin | FileCheck %s _t: movw r0, :lower16:(L_foo$non_lazy_ptr - (L1 + 8)) movt r0, :upper16:(L_foo$non_lazy_ptr - (L1 + 8)) L1: -@ CHECK: movw r0, :lower16:(L_foo$non_lazy_ptr-(L1+8)) @ encoding: [A,A,0x00,0xe3] -@ CHECK: @ fixup A - offset: 0, value: L_foo$non_lazy_ptr-(L1+8), kind: fixup_arm_movw_lo16_pcrel -@ CHECK: movt r0, :upper16:(L_foo$non_lazy_ptr-(L1+8)) @ encoding: [A,A,0x40,0xe3] -@ CHECK: @ fixup A - offset: 0, value: L_foo$non_lazy_ptr-(L1+8), kind: fixup_arm_movt_hi16_pcrel +@ CHECK: movw r0, :lower16:(L_foo$non_lazy_ptr-(L1+8)) +@ CHECK: movt r0, :upper16:(L_foo$non_lazy_ptr-(L1+8)) .comm _foo,4,2 |