Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / mov-expression-as-immediate.s
blobe066fa4e0234ceddbd7a623ac7ef778428af95a5
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu %s -filetype=obj -o %t
2 // RUN: llvm-objdump --no-print-imm-hex -d %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