[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / CodeGen / X86 / remarks-section.ll
blob6d7957a16256060b8d77fc3a1bfb3f50aec31799
1 ; RUN: llc < %s -mtriple=x86_64-linux -remarks-section -pass-remarks-output=%/t.yaml | FileCheck -DPATH=%/t.yaml %s
2 ; RUN: llc < %s -mtriple=x86_64-darwin -remarks-section -pass-remarks-output=%/t.yaml | FileCheck --check-prefix=CHECK-DARWIN -DPATH=%/t.yaml %s
3 ; RUN: llc < %s -mtriple=x86_64-darwin -remarks-section -remarks-yaml-string-table -pass-remarks-output=%/t.yaml | FileCheck --check-prefix=CHECK-DARWIN-STRTAB -DPATH=%/t.yaml %s
5 ; CHECK-LABEL: func1:
7 ; CHECK: .section .remarks,"e",@progbits
8 ; The magic number:
9 ; CHECK-NEXT: .ascii "REMARKS"
10 ; Null-terminator:
11 ; CHECK-NEXT: .byte 0
12 ; The version:
13 ; CHECK-NEXT: .byte 0x00, 0x00, 0x00, 0x00
14 ; CHECK-NEXT: .byte 0x00, 0x00, 0x00, 0x00
15 ; The string table size:
16 ; CHECK-NEXT: .byte 0x00, 0x00, 0x00, 0x00
17 ; CHECK-NEXT: .byte 0x00, 0x00, 0x00, 0x00
18 ; The string table:
19 ; EMPTY
20 ; The remark file path:
21 ; CHECK-NEXT: .ascii "[[PATH]]"
22 ; Null-terminator:
23 ; CHECK-NEXT: .byte 0
25 ; CHECK-DARWIN: .section __LLVM,__remarks,regular,debug
26 ; The magic number:
27 ; CHECK-DARWIN-NEXT: .ascii "REMARKS"
28 ; Null-terminator:
29 ; CHECK-DARWIN-NEXT: .byte 0
30 ; The version:
31 ; CHECK-DARWIN-NEXT: .byte 0x00, 0x00, 0x00, 0x00
32 ; CHECK-DARWIN-NEXT: .byte 0x00, 0x00, 0x00, 0x00
33 ; The string table size:
34 ; CHECK-DARWIN-NEXT: .byte 0x00, 0x00, 0x00, 0x00
35 ; CHECK-DARWIN-NEXT: .byte 0x00, 0x00, 0x00, 0x00
36 ; The string table:
37 ; EMPTY
38 ; The remark file path:
39 ; CHECK-DARWIN-NEXT: .ascii "[[PATH]]"
40 ; Null-terminator:
41 ; CHECK-DARWIN-NEXT: .byte 0
43 ; CHECK-DARWIN-STRTAB: .section __LLVM,__remarks,regular,debug
44 ; The magic number:
45 ; CHECK-DARWIN-STRTAB-NEXT: .ascii "REMARKS"
46 ; Null-terminator:
47 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
48 ; The version:
49 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0x00, 0x00, 0x00, 0x00
50 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0x00, 0x00, 0x00, 0x00
51 ; The size of the string table:
52 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0x71, 0x00, 0x00, 0x00
53 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0x00, 0x00, 0x00, 0x00
54 ; The string table:
55 ; CHECK-DARWIN-STRTAB-NEXT: .ascii "prologepilog"
56 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
57 ; CHECK-DARWIN-STRTAB-NEXT: .ascii "StackSize"
58 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
59 ; CHECK-DARWIN-STRTAB-NEXT: .ascii "func1"
60 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
61 ; CHECK-DARWIN-STRTAB-NEXT: .byte 48
62 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
63 ; CHECK-DARWIN-STRTAB-NEXT: .ascii " stack bytes in function"
64 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
65 ; CHECK-DARWIN-STRTAB-NEXT: .ascii "asm-printer"
66 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
67 ; CHECK-DARWIN-STRTAB-NEXT: .ascii "InstructionCount"
68 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
69 ; CHECK-DARWIN-STRTAB-NEXT: .byte 49
70 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
71 ; CHECK-DARWIN-STRTAB-NEXT: .ascii " instructions in function"
72 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
73 ; The remark file path:
74 ; CHECK-DARWIN-STRTAB-NEXT: .ascii "[[PATH]]"
75 ; Null-terminator:
76 ; CHECK-DARWIN-STRTAB-NEXT: .byte 0
77 define void @func1() {
78   ret void