[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ELF / align-nops.s
blob08e8660e4e8a4cb0e9ac3c179af7f4275b56f317
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro %s -o - | llvm-readobj -S --sd | FileCheck %s
3 // Test that we get optimal nops in text
4 .text
5 f0:
6 .long 0
7 .align 8, 0x00000090
8 .long 0
9 .align 8
11 // But not in another section
12 .data
13 .long 0
14 .align 8, 0x00000090
15 .long 0
16 .align 8
18 // CHECK: Section {
19 // CHECK: Name: .text
20 // CHECK-NEXT: Type: SHT_PROGBITS
21 // CHECK-NEXT: Flags [
22 // CHECK-NEXT: SHF_ALLOC
23 // CHECK-NEXT: SHF_EXECINSTR
24 // CHECK-NEXT: ]
25 // CHECK-NEXT: Address:
26 // CHECK-NEXT: Offset:
27 // CHECK-NEXT: Size: 16
28 // CHECK-NEXT: Link: 0
29 // CHECK-NEXT: Info: 0
30 // CHECK-NEXT: AddressAlignment: 8
31 // CHECK-NEXT: EntrySize: 0
32 // CHECK-NEXT: SectionData (
33 // CHECK-NEXT: 0000: 00000000 0F1F4000 00000000 0F1F4000
34 // CHECK-NEXT: )
35 // CHECK-NEXT: }
37 // CHECK: Section {
38 // CHECK: Name: .data
39 // CHECK-NEXT: Type: SHT_PROGBITS
40 // CHECK-NEXT: Flags [
41 // CHECK-NEXT: SHF_ALLOC
42 // CHECK-NEXT: SHF_WRITE
43 // CHECK-NEXT: ]
44 // CHECK-NEXT: Address:
45 // CHECK-NEXT: Offset:
46 // CHECK-NEXT: Size: 16
47 // CHECK-NEXT: Link: 0
48 // CHECK-NEXT: Info: 0
49 // CHECK-NEXT: AddressAlignment: 8
50 // CHECK-NEXT: EntrySize: 0
51 // CHECK-NEXT: SectionData (
52 // CHECK-NEXT: 0000: 00000000 90909090 00000000 00000000
53 // CHECK-NEXT: )
54 // CHECK-NEXT: }