Skip to content

Commit 7f93ff5

Browse files
committed
[llvm] Fix broken cases of 'CHECK[^:]*$' in tests
1 parent d1f849a commit 7f93ff5

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

llvm/test/CodeGen/AArch64/arm64-mte.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ entry:
173173
%1 = tail call i8* @llvm.aarch64.ldg(i8* %0, i8* %0)
174174
%2 = bitcast i8* %1 to i32*
175175
ret i32* %2
176-
; CHECK ldg x0, [x0]
176+
; CHECK: ldg x0, [x0]
177177
}
178178

179179
define i32* @get_tag1_two_parm(i32* %ret_ptr, i32* %ptr) {
@@ -184,7 +184,7 @@ entry:
184184
%2 = tail call i8* @llvm.aarch64.ldg(i8* %0, i8* %1)
185185
%3 = bitcast i8* %2 to i32*
186186
ret i32* %3
187-
; CHECK ldg x0, [x1]
187+
; CHECK: ldg x0, [x1]
188188
}
189189

190190
define i32* @get_tag1stack() {

llvm/test/CodeGen/PowerPC/vsx-word-splats.ll

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ entry:
99
%2 = bitcast <16 x i8> %1 to <4 x float>
1010
ret <4 x float> %2
1111
; CHECK-LABEL: test0f
12-
; CHECK xxspltw: 34, 34, 3
12+
; CHECK: xxspltw 34, 34, 3
1313
; CHECK-BE-LABEL: test0f
1414
; CHECK-BE: xxspltw 34, 34, 0
1515
}
@@ -21,7 +21,7 @@ entry:
2121
%2 = bitcast <16 x i8> %1 to <4 x float>
2222
ret <4 x float> %2
2323
; CHECK-LABEL: test1f
24-
; CHECK xxspltw: 34, 34, 2
24+
; CHECK: xxspltw 34, 34, 2
2525
; CHECK-BE-LABEL: test1f
2626
; CHECK-BE: xxspltw 34, 34, 1
2727
}
@@ -33,8 +33,8 @@ entry:
3333
%2 = bitcast <16 x i8> %1 to <4 x float>
3434
ret <4 x float> %2
3535
; CHECK-LABEL: test2f
36-
; CHECK xxspltw: 34, 34, 1
37-
; CHECK-LABEL: test2f
36+
; CHECK: xxspltw 34, 34, 1
37+
; CHECK-BE-LABEL: test2f
3838
; CHECK-BE: xxspltw 34, 34, 2
3939
}
4040

@@ -45,7 +45,7 @@ entry:
4545
%2 = bitcast <16 x i8> %1 to <4 x float>
4646
ret <4 x float> %2
4747
; CHECK-LABEL: test3f
48-
; CHECK xxspltw: 34, 34, 0
48+
; CHECK: xxspltw 34, 34, 0
4949
; CHECK-BE-LABEL: test3f
5050
; CHECK-BE: xxspltw 34, 34, 3
5151
}
@@ -57,7 +57,7 @@ entry:
5757
%2 = bitcast <16 x i8> %1 to <4 x i32>
5858
ret <4 x i32> %2
5959
; CHECK-LABEL: test0si
60-
; CHECK xxspltw: 34, 34, 3
60+
; CHECK: xxspltw 34, 34, 3
6161
; CHECK-BE-LABEL: test0si
6262
; CHECK-BE: xxspltw 34, 34, 0
6363
}
@@ -69,7 +69,7 @@ entry:
6969
%2 = bitcast <16 x i8> %1 to <4 x i32>
7070
ret <4 x i32> %2
7171
; CHECK-LABEL: test1si
72-
; CHECK xxspltw: 34, 34, 2
72+
; CHECK: xxspltw 34, 34, 2
7373
; CHECK-BE-LABEL: test1si
7474
; CHECK-BE: xxspltw 34, 34, 1
7575
}
@@ -81,7 +81,7 @@ entry:
8181
%2 = bitcast <16 x i8> %1 to <4 x i32>
8282
ret <4 x i32> %2
8383
; CHECK-LABEL: test2si
84-
; CHECK xxspltw: 34, 34, 1
84+
; CHECK: xxspltw 34, 34, 1
8585
; CHECK-BE-LABEL: test2si
8686
; CHECK-BE: xxspltw 34, 34, 2
8787
}
@@ -93,7 +93,7 @@ entry:
9393
%2 = bitcast <16 x i8> %1 to <4 x i32>
9494
ret <4 x i32> %2
9595
; CHECK-LABEL: test3si
96-
; CHECK xxspltw: 34, 34, 0
96+
; CHECK: xxspltw 34, 34, 0
9797
; CHECK-BE-LABEL: test3si
9898
; CHECK-BE: xxspltw 34, 34, 3
9999
}
@@ -105,7 +105,7 @@ entry:
105105
%2 = bitcast <16 x i8> %1 to <4 x i32>
106106
ret <4 x i32> %2
107107
; CHECK-LABEL: test0ui
108-
; CHECK xxspltw: 34, 34, 3
108+
; CHECK: xxspltw 34, 34, 3
109109
; CHECK-BE-LABEL: test0ui
110110
; CHECK-BE: xxspltw 34, 34, 0
111111
}
@@ -117,7 +117,7 @@ entry:
117117
%2 = bitcast <16 x i8> %1 to <4 x i32>
118118
ret <4 x i32> %2
119119
; CHECK-LABEL: test1ui
120-
; CHECK xxspltw: 34, 34, 2
120+
; CHECK: xxspltw 34, 34, 2
121121
; CHECK-BE-LABEL: test1ui
122122
; CHECK-BE: xxspltw 34, 34, 1
123123
}
@@ -129,7 +129,7 @@ entry:
129129
%2 = bitcast <16 x i8> %1 to <4 x i32>
130130
ret <4 x i32> %2
131131
; CHECK-LABEL: test2ui
132-
; CHECK xxspltw: 34, 34, 1
132+
; CHECK: xxspltw 34, 34, 1
133133
; CHECK-BE-LABEL: test2ui
134134
; CHECK-BE: xxspltw 34, 34, 2
135135
}
@@ -141,7 +141,7 @@ entry:
141141
%2 = bitcast <16 x i8> %1 to <4 x i32>
142142
ret <4 x i32> %2
143143
; CHECK-LABEL: test3ui
144-
; CHECK xxspltw: 34, 34, 0
144+
; CHECK: xxspltw 34, 34, 0
145145
; CHECK-BE-LABEL: test3ui
146146
; CHECK-BE: xxspltw 34, 34, 3
147147
}

llvm/test/DebugInfo/COFF/enum-co.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
; CHECK: TypeLeafKind: LF_ENUM (0x1507)
7272
; CHECK: NumEnumerators: 2
7373
; CHECK: Properties [ (0x208)
74-
; CHECK HasUniqueName (0x200)
75-
; CHECK Nested (0x8)
74+
; CHECK: HasUniqueName (0x200)
75+
; CHECK: Nested (0x8)
7676
; CHECK: ]
7777
; CHECK: UnderlyingType: int (0x74)
7878
; CHECK: FieldListType: <field list> ({{.*}})

llvm/test/Transforms/CorrelatedValuePropagation/udiv.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
; CHECK-LABEL: @test_nop
1010
define void @test_nop(i32 %n) {
11-
; CHECK udiv i32 %n, 100
11+
; CHECK: udiv i32 %n, 100
1212
%div = udiv i32 %n, 100
1313
ret void
1414
}

llvm/test/Transforms/CorrelatedValuePropagation/urem.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; CHECK-LABEL: @test_nop
44
define void @test_nop(i32 %n) {
5-
; CHECK udiv i32 %n, 100
5+
; CHECK: udiv i32 %n, 100
66
%div = udiv i32 %n, 100
77
ret void
88
}

llvm/test/Transforms/JumpThreading/pr33605.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
; CHECK: br label %if.end
2828
; CHECK-NOT: br label %for.cond
2929
; CHECK: if.end:
30-
; CHECK br label %for.cond
30+
; CHECK: br label %for.cond
3131
define i1 @test(i32 %a, i32 %b, i32* %c) {
3232
entry:
3333
br label %for.cond

0 commit comments

Comments
 (0)