[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ARM / hilo-16bit-relocations.s
blob7d6b4988dffd4a5a76a2cd6ad24ccc74253fe3e8
1 @ RUN: llvm-mc %s -triple armv7-apple-darwin | FileCheck %s
2 @ RUN: llvm-mc %s -triple armv7-apple-darwin | FileCheck %s
4 _t:
5 movw r0, :lower16:(L_foo$non_lazy_ptr - (L1 + 8))
6 movt r0, :upper16:(L_foo$non_lazy_ptr - (L1 + 8))
7 L1:
9 @ CHECK: movw r0, :lower16:(L_foo$non_lazy_ptr-(L1+8))
10 @ CHECK: movt r0, :upper16:(L_foo$non_lazy_ptr-(L1+8))
12 .comm _foo,4,2
14 .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
15 .align 2
16 L_foo$non_lazy_ptr:
17 .indirect_symbol _foo
18 .long 0
20 .subsections_via_symbols