[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / assembler-fill.s
blobcb5f2d9e5721b743e0d8b702c8f7a21553897c99
1 // RUN: llvm-mc --triple=thumbv7eb-linux-gnueabihf %s -filetype=obj | llvm-objdump --triple=thumbv7eb-linux-gnueabihf -s - | FileCheck %s
3 // CHECK: Contents of section .text
4 // CHECK-NEXT: 0000 d000bf00
6 // Make sure we emit in correct endianness.
8 // CHECK: Contents of section .data
9 // CHECK-NEXT: 0000 12341234 1234
11 .syntax unified
12 .text
13 .thumb
14 .thumb_func
15 .L1:
16 beq Label
17 .L2:
18 nop
19 Label:
21 .data
22 .short 0x1234
23 .fill (.L2 - .L1), 2, 0x1234