[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / mov-expr-as-immediate.s
blob0f95a48b4158d12303c7896f7d414826523e0cc1
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu %s -filetype=obj -o %t
2 // RUN: llvm-objdump --no-print-imm-hex --triple aarch64-none-linux-gnu -Dr %t | FileCheck %s
4 0:
5 .skip 4
6 1:
7 mov x0, 1b - 0b
8 // CHECK: mov x0, #4
9 mov x0, 0b - 1b
10 // CHECK: mov x0, #-4
11 mov x0, 0b - 0b
12 // CHECK: mov x0, #0
13 mov x0, 1b - 2 - 0b + 6
14 // CHECK: mov x0, #8
15 mov x0, #:abs_g0_s:1b
16 // CHECK: mov x0, #0
17 // CHECK-NEXT: R_AARCH64_MOVW_SABS_G0 .text+0x4