[InstCombine] Signed saturation patterns
[llvm-core.git] / test / FileCheck / verbose.txt
blob2594eabdbde2f0f7e7d59199d93dc81c3a1fa998
1 ; RUN: FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix QUIET --allow-empty %s
2 ; RUN: FileCheck -v -input-file %s %s 2>&1 | FileCheck --strict-whitespace -check-prefix V %s
3 ; RUN: FileCheck -vv -input-file %s %s 2>&1 | FileCheck --strict-whitespace -check-prefixes V,VV %s
5 foo
6 bar
7 CHECK: foo
8 CHECK-NOT: raboof
9 CHECK-NEXT: bar
11 V:      verbose.txt:[[@LINE-4]]:8: remark: {{C}}HECK: expected string found in input
12 V-NEXT:  {{C}}HECK: foo{{$}}
13 V-NEXT: {{^}}       ^{{$}}
14 V-NEXT: verbose.txt:[[@LINE-9]]:1: note: found here
15 V-NEXT: {{^}}foo{{$}}
16 V-NEXT: {{^}}^~~{{$}}
18 V-NEXT: verbose.txt:[[@LINE-9]]:13: remark: {{C}}HECK-NEXT: expected string found in input
19 V-NEXT:  {{C}}HECK-NEXT: bar{{$}}
20 V-NEXT: {{^}}            ^{{$}}
21 V-NEXT: verbose.txt:[[@LINE-15]]:1: note: found here
22 V-NEXT: {{^}}bar{{$}}
23 V-NEXT: {{^}}^~~{{$}}
25 VV-NEXT: verbose.txt:[[@LINE-17]]:12: remark: {{C}}HECK-NOT: excluded string not found in input
26 VV-NEXT:  {{C}}HECK-NOT: raboof{{$}}
27 VV-NEXT: {{^}}           ^{{$}}
28 VV-NEXT: verbose.txt:[[@LINE-22]]:1: note: scanning from here
29 VV-NEXT: {{^}}bar{{$}}
30 VV-NEXT: {{^}}^{{$}}
32 NUMVAR=42
33 NUMVAR - 1:41
34 CHECK: NUMVAR=[[#NUMVAR:]]
35 CHECK-NOT: [[#NUMVAR + 1]]
36 CHECK-NEXT: NUMVAR - 1:[[#NUMVAR - 1]]
38 V:      verbose.txt:[[#@LINE-4]]:8: remark: {{C}}HECK: expected string found in input
39 V-NEXT: {{C}}HECK: {{NUMVAR=[[][[]#NUMVAR:[]][]]$}}
40 V-NEXT:  {{^}}       ^{{$}}
41 V-NEXT: verbose.txt:[[#@LINE-9]]:1: note: found here
42 V-NEXT: {{^}}NUMVAR=42{{$}}
43 V-NEXT: {{^}}^~~~~~~~~{{$}}
45 V-NEXT: verbose.txt:[[#@LINE-9]]:13: remark: {{C}}HECK-NEXT: expected string found in input
46 V-NEXT: {{C}}HECK-NEXT: {{NUMVAR - 1:[[][[]#NUMVAR - 1[]][]]$}}
47 V-NEXT:  {{^}}            ^{{$}}
48 V-NEXT: verbose.txt:[[#@LINE-15]]:1: note: found here
49 V-NEXT: {{^}}NUMVAR - 1:41{{$}}
50 V-NEXT: {{^}}^~~~~~~~~~~~~{{$}}
51 V-NEXT: verbose.txt:[[#@LINE-18]]:1: note: with "NUMVAR - 1" equal to "41"
52 V-NEXT: {{^}}NUMVAR - 1:41{{$}}
53 V-NEXT: {{^}}^~~~~~~~~~~~~{{$}}
55 VV-NEXT: verbose.txt:[[#@LINE-20]]:12: remark: {{C}}HECK-NOT: excluded string not found in input
56 VV-NEXT: {{C}}HECK-NOT: {{[[][[]#NUMVAR [+] 1[]][]]$}}
57 VV-NEXT:   {{^}}           ^{{$}}
58 VV-NEXT: verbose.txt:[[#@LINE-25]]:1: note: scanning from here
59 VV-NEXT: {{^}}NUMVAR - 1:41{{$}}
60 VV-NEXT: {{^}}^{{$}}
62 before empty
64 after empty
65 CHECK: before empty
66 CHECK-EMPTY:
67 CHECK-NEXT: after empty
69 V:      verbose.txt:[[@LINE-4]]:8: remark: {{C}}HECK: expected string found in input
70 V-NEXT:  {{C}}HECK: before empty{{$}}
71 V-NEXT: {{^}}       ^{{$}}
72 V-NEXT: verbose.txt:[[@LINE-10]]:1: note: found here
73 V-NEXT: {{^}}before empty{{$}}
74 V-NEXT: {{^}}^~~~~~~~~~~~{{$}}
76 V-NEXT:  verbose.txt:[[@LINE-10]]:13: remark: {{C}}HECK-EMPTY: expected string found in input
77 V-NEXT:   {{C}}HECK-EMPTY:{{$}}
78 V-NEXT:  {{^}}            ^{{$}}
79 V-NEXT:  verbose.txt:[[@LINE-16]]:1: note: found here
80 V-EMPTY:
81 V-NEXT:  {{^}}^{{$}}
83 V-NEXT: verbose.txt:[[@LINE-16]]:13: remark: {{C}}HECK-NEXT: expected string found in input
84 V-NEXT:  {{C}}HECK-NEXT: after empty{{$}}
85 V-NEXT: {{^}}            ^{{$}}
86 V-NEXT: verbose.txt:[[@LINE-22]]:1: note: found here
87 V-NEXT: {{^}}after empty{{$}}
88 V-NEXT: {{^}}^~~~~~~~~~~{{$}}
90 abcdef
91 abcdef
92 CHECK-DAG: abcdef
93 CHECK-DAG: def
95 V-NEXT: verbose.txt:[[@LINE-3]]:12: remark: {{C}}HECK-DAG: expected string found in input
96 V-NEXT:  {{C}}HECK-DAG: abcdef
97 V-NEXT: {{^}}           ^{{$}}
98 V-NEXT: verbose.txt:[[@LINE-8]]:1: note: found here
99 V-NEXT: {{^}}abcdef{{$}}
100 V-NEXT: {{^}}^~~~~~{{$}}
102 VV-NEXT: verbose.txt:[[@LINE-9]]:12: remark: {{C}}HECK-DAG: expected string found in input
103 VV-NEXT:  {{C}}HECK-DAG: def
104 VV-NEXT: {{^}}           ^{{$}}
105 VV-NEXT: verbose.txt:[[@LINE-15]]:4: note: found here
106 VV-NEXT:   {{^abcdef$}}
107 VV-NEXT: {{^}}   ^~~
108 VV-NEXT: verbose.txt:[[@LINE-18]]:1: note: match discarded, overlaps earlier DAG match here
109 VV-NEXT: {{^}}abcdef{{$}}
110 VV-NEXT: {{^}}^~~~~~{{$}}
112 V-NEXT: verbose.txt:[[@LINE-19]]:12: remark: {{C}}HECK-DAG: expected string found in input
113 V-NEXT:  {{C}}HECK-DAG: def
114 V-NEXT: {{^}}           ^{{$}}
115 V-NEXT: verbose.txt:[[@LINE-24]]:4: note: found here
116 V-NEXT:   {{^abcdef$}}
117 V-NEXT: {{^}}   ^~~
120 CHECK: xyz
121 CHECK-NOT: {{z}}yx
123 V:      verbose.txt:[[@LINE-3]]:8: remark: {{C}}HECK: expected string found in input
124 V-NEXT:  {{C}}HECK: xyz{{$}}
125 V-NEXT: {{^}}       ^{{$}}
126 V-NEXT: verbose.txt:[[@LINE-7]]:1: note: found here
127 V-NEXT: {{^}}xyz{{$}}
128 V-NEXT: {{^}}^~~{{$}}
130 VV-NEXT: verbose.txt:[[@LINE-9]]:19: remark: implicit EOF: expected string found in input
131 VV-NEXT: {{C}}HECK-NOT: {{[{][{]z[}][}]yx$}}
132 VV-NEXT:          {{^}}                  ^{{$}}
133 VV-NEXT: verbose.txt:[[@LINE+13]]:1: note: found here
134 VV-NOT:  {{.}}
135 VV:      {{^}}^
137 VV-NEXT: verbose.txt:[[@LINE-16]]:12: remark: {{C}}HECK-NOT: excluded string not found in input
138 VV-NEXT: {{C}}HECK-NOT: {{[{][{]z[}][}]yx$}}
139 VV-NEXT:   {{^}}           ^{{$}}
140 VV-NEXT: verbose.txt:[[@LINE-20]]:1: note: scanning from here
141 VV-NEXT: {{^C}}HECK: xyz{{$}}
142 VV-NEXT: {{^}}^{{$}}
144 QUIET-NOT: {{.}}
145 V-NOT: {{.}}