[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / directive-even.s
blob2df0a4cc22497d98918557cf61a3437da89cf2cf
1 @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
2 @ RUN: | llvm-readobj -S --sd - \
3 @ RUN: | FileCheck %s
5 .syntax unified
7 .text
9 .even
11 .global aligned_function
12 .type aligned_function,%function
13 aligned_function:
14 bkpt
16 .space 5
18 .even
20 .global unaligned_function
21 .type unaligned_function,%function
22 unaligned_function:
23 bkpt
25 @ CHECK: Section {
26 @ CHECK: Name: .text
27 @ CHECK: SectionData (
28 @ CHECK: 0000: 700020E1 00000000 00007000 20E1
29 @ CHECK: )
30 @ CHECK: }
32 .data
34 .space 15
36 .even
38 .global classifiable
39 .type classifiable,%object
40 classifiable:
41 .byte 0xf1
42 .byte 0x51
43 .byte 0xa5
44 .byte 0xc1
45 .byte 0x00
46 .byte 0x00
47 .byte 0x1e
48 .byte 0xab
50 .even
52 .global declassified
53 .type declassified,%object
54 declassified:
55 .byte 0x51
56 .byte 0xa5
57 .byte 0xc1
58 .byte 0xde
59 .byte 0x00
60 .byte 0x00
61 .byte 0xed
62 .byte 0xf1
64 @ CHECK: Section {
65 @ CHECK: Name: .data
66 @ CHECK: SectionData (
67 @ CHECK: 0000: 00000000 00000000 00000000 00000000
68 @ CHECK: 0010: F151A5C1 00001EAB 51A5C1DE 0000EDF1
69 @ CHECK: )
70 @ CHECK: }