[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / elf-reloc-condcall.s
blob23e3ee24e08a4f0cff80affa4262304ac2076bd4
1 // RUN: llvm-mc -triple=armv7-linux-gnueabi -filetype=obj %s -o - | \
2 // RUN: llvm-readobj -r - | FileCheck -check-prefix=OBJ %s
4 bleq some_label
5 bl some_label
6 blx some_label
7 beq some_label
8 b some_label
10 // OBJ: Relocations [
11 // OBJ-NEXT: Section {{.*}} .rel.text {
12 // OBJ-NEXT: 0x0 R_ARM_JUMP24 some_label
13 // OBJ-NEXT: 0x4 R_ARM_CALL some_label
14 // OBJ-NEXT: 0x8 R_ARM_CALL some_label
15 // OBJ-NEXT: 0xC R_ARM_JUMP24 some_label
16 // OBJ-NEXT: 0x10 R_ARM_JUMP24 some_label
17 // OBJ-NEXT: }
18 // OBJ-NEXT: ]