Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / ARM / thumb-far-jump.s
blobe1ca72869195376e22dbdece59653211a84bda34
1 @ RUN: llvm-mc < %s -triple thumbv5-linux-gnueabi -filetype=obj -o - \
2 @ RUN: | llvm-readobj -r - | FileCheck %s
3 .syntax unified
5 .text
6 .align 2
7 .globl main
8 .type main,%function
9 .thumb_func
10 main:
11 bl end
12 .space 8192
13 end:
14 bl main2
15 bx lr
17 .text
18 .align 2
19 .globl main2
20 .type main2,%function
21 .thumb_func
22 main2:
23 bx lr
25 @ CHECK-NOT: 0x0 R_ARM_THM_CALL end
26 @ CHECK: 0x2004 R_ARM_THM_CALL main2