Skip to content

Commit 5f7c8b0

Browse files
author
GYT
committed
use CHECK-LABEL
1 parent 86515c5 commit 5f7c8b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/test/Transforms/LoopVectorize/diag-disabled-vectorization-msgs.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
; RUN: -pass-remarks-missed=loop-vectorize \
88
; RUN: -pass-remarks-analysis=loop-vectorize -debug -disable-output \
99
; RUN: < %s 2>&1 | FileCheck --check-prefix=METADATA %s
10+
; METADATA-LABEL: disabled_loop_vectorization:
1011
; METADATA-NOT: LV: We can vectorize this loop
1112
; METADATA-NOT: LV: Not vectorizing: loop hasDisableAllTransformsHint
1213
; METADATA-NOT: LV: Not vectorizing: VectorizeOnlyWhenForced is set
@@ -30,6 +31,7 @@
3031
; RUN: -pass-remarks-missed=loop-vectorize \
3132
; RUN: -pass-remarks-analysis=loop-vectorize -debug -disable-output \
3233
; RUN: 2>&1 | FileCheck --check-prefix=FORCEDONLY %s
34+
; FORCEDONLY-LABEL: disabled_loop_vectorization:
3335
; FORCEDONLY-NOT: LV: We can vectorize this loop
3436
; FORCEDONLY-NOT: LV: Not vectorizing: loop hasDisableAllTransformsHint
3537
; FORCEDONLY-NOT: LV: Not vectorizing: #pragma vectorize disable
@@ -70,6 +72,7 @@ exit:
7072
; RUN: -pass-remarks-analysis=loop-vectorize -debug -disable-output \
7173
; RUN: -force-vector-interleave=1 -force-vector-width=2 \
7274
; RUN: < %s 2>&1 | FileCheck %s
75+
; CHECK-LABEL: disable_nonforced:
7376
; CHECK-NOT: LV: We can vectorize this loop
7477
; CHECK-NOT: LV: Not vectorizing: #pragma vectorize disable.
7578
; CHECK-NOT: LV: Not vectorizing: VectorizeOnlyWhenForced is set

0 commit comments

Comments
 (0)