Skip to content

Commit 42ec7a6

Browse files
committed
[VPlan] Add CHECK-LABEL to test/Transforms/LoopVectorize/vplan-printing.ll.
This patch adds CHECK-LABEL lines to llvm/test/Transforms/LoopVectorize/vplan-printing.ll in order to make failures slightly easier to diagnose.
1 parent c34819a commit 42ec7a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/test/Transforms/LoopVectorize/vplan-printing.ll

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
77
; Tests for printing VPlans.
88

99
define void @print_call_and_memory(i64 %n, float* noalias %y, float* noalias %x) nounwind uwtable {
10+
; CHECK-LABEL: Checking a loop in "print_call_and_memory"
1011
; CHECK: VPlan {
1112
; CHECK-NEXT: for.body:
1213
; CHECK-NEXT: WIDEN-INDUCTION %iv = phi %iv.next, 0
@@ -38,6 +39,7 @@ for.end: ; preds = %for.body, %entry
3839
}
3940

4041
define void @print_widen_gep_and_select(i64 %n, float* noalias %y, float* noalias %x, float* %z) nounwind uwtable {
42+
; CHECK-LABEL: Checking a loop in "print_widen_gep_and_select"
4143
; CHECK: VPlan {
4244
; CHECK-NEXT: for.body:
4345
; CHECK-NEXT: WIDEN-INDUCTION %iv = phi %iv.next, 0
@@ -73,6 +75,7 @@ for.end: ; preds = %for.body, %entry
7375
}
7476

7577
define float @print_reduction(i64 %n, float* noalias %y) {
78+
; CHECK-LABEL: Checking a loop in "print_reduction"
7679
; CHECK: VPlan {
7780
; CHECK-NEXT: for.body:
7881
; CHECK-NEXT: WIDEN-INDUCTION %iv = phi %iv.next, 0
@@ -101,6 +104,7 @@ for.end: ; preds = %for.body, %entry
101104
}
102105

103106
define void @print_replicate_predicated_phi(i64 %n, i64* %x) {
107+
; CHECK-LABEL: Checking a loop in "print_replicate_predicated_phi"
104108
; CHECK: VPlan {
105109
; CHECK-NEXT: for.body:
106110
; CHECK-NEXT: WIDEN-INDUCTION %i = phi 0, %i.next

0 commit comments

Comments
 (0)