[llvm] 42ec7a6 - [VPlan] Add CHECK-LABEL to test/Transforms/LoopVectorize/vplan-printing.ll.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 11:32:24 PDT 2021


Author: Florian Hahn
Date: 2021-03-22T18:29:38Z
New Revision: 42ec7a6f085daf744ae090e0ce1d611b62f8d6c0

URL: https://github.com/llvm/llvm-project/commit/42ec7a6f085daf744ae090e0ce1d611b62f8d6c0
DIFF: https://github.com/llvm/llvm-project/commit/42ec7a6f085daf744ae090e0ce1d611b62f8d6c0.diff

LOG: [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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/vplan-printing.ll b/llvm/test/Transforms/LoopVectorize/vplan-printing.ll
index 93718ffbeab9b..fc0b0e0410329 100644
--- a/llvm/test/Transforms/LoopVectorize/vplan-printing.ll
+++ b/llvm/test/Transforms/LoopVectorize/vplan-printing.ll
@@ -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
 ; Tests for printing VPlans.
 
 define void @print_call_and_memory(i64 %n, float* noalias %y, float* noalias %x) nounwind uwtable {
+; CHECK-LABEL: Checking a loop in "print_call_and_memory"
 ; CHECK:      VPlan {
 ; CHECK-NEXT: for.body:
 ; CHECK-NEXT:   WIDEN-INDUCTION %iv = phi %iv.next, 0
@@ -38,6 +39,7 @@ for.end:                                          ; preds = %for.body, %entry
 }
 
 define void @print_widen_gep_and_select(i64 %n, float* noalias %y, float* noalias %x, float* %z) nounwind uwtable {
+; CHECK-LABEL: Checking a loop in "print_widen_gep_and_select"
 ; CHECK:      VPlan {
 ; CHECK-NEXT: for.body:
 ; CHECK-NEXT:   WIDEN-INDUCTION %iv = phi %iv.next, 0
@@ -73,6 +75,7 @@ for.end:                                          ; preds = %for.body, %entry
 }
 
 define float @print_reduction(i64 %n, float* noalias %y) {
+; CHECK-LABEL: Checking a loop in "print_reduction"
 ; CHECK:      VPlan {
 ; CHECK-NEXT: for.body:
 ; CHECK-NEXT:   WIDEN-INDUCTION %iv = phi %iv.next, 0
@@ -101,6 +104,7 @@ for.end:                                          ; preds = %for.body, %entry
 }
 
 define void @print_replicate_predicated_phi(i64 %n, i64* %x) {
+; CHECK-LABEL: Checking a loop in "print_replicate_predicated_phi"
 ; CHECK:      VPlan {
 ; CHECK-NEXT: for.body:
 ; CHECK-NEXT:   WIDEN-INDUCTION %i = phi 0, %i.next


        


More information about the llvm-commits mailing list