[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / relocated-mapping.s
blobb65e1c24cf12a6b278a72c91318fb9a0300cfd0b
1 @ RUN: llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s | llvm-objdump -t - | FileCheck %s
3 @ Implementation-detail test (unfortunately): values that are relocated do not
4 @ go via MCStreamer::EmitBytes; make sure they still emit a mapping symbol.
5 add r0, r0, r0
6 .word somewhere
7 add r0, r0, r0
9 @ CHECK: 00000000 l .text 00000000 $a
10 @ CHECK-NEXT: 00000004 l .text 00000000 $d
11 @ CHECK-NEXT: 00000008 l .text 00000000 $a