55; REQUIRES: asserts
66; RUN: opt -passes=loop-vectorize -pass-remarks=loop-vectorize \
77; RUN: -pass-remarks-missed=loop-vectorize \
8- ; RUN: -pass-remarks-analysis=loop-vectorize -debug -disable-output \
8+ ; RUN: -pass-remarks-analysis=loop-vectorize -debug -o - \
99; RUN: < %s 2>&1 | FileCheck --check-prefix=METADATA %s
10- ; METADATA-LABEL: disabled_loop_vectorization:
10+ ; METADATA-LABEL: @ disabled_loop_vectorization
1111; METADATA-NOT: LV: We can vectorize this loop
1212; METADATA-NOT: LV: Not vectorizing: loop hasDisableAllTransformsHint
1313; METADATA-NOT: LV: Not vectorizing: VectorizeOnlyWhenForced is set
2929; RUN: opt -passes='loop-vectorize<vectorize-forced-only>' \
3030; RUN: -pass-remarks=loop-vectorize \
3131; RUN: -pass-remarks-missed=loop-vectorize \
32- ; RUN: -pass-remarks-analysis=loop-vectorize -debug -disable-output \
32+ ; RUN: -pass-remarks-analysis=loop-vectorize -debug -o - \
3333; RUN: 2>&1 | FileCheck --check-prefix=FORCEDONLY %s
34- ; FORCEDONLY-LABEL: disabled_loop_vectorization:
34+ ; FORCEDONLY-LABEL: @ disabled_loop_vectorization
3535; FORCEDONLY-NOT: LV: We can vectorize this loop
3636; FORCEDONLY-NOT: LV: Not vectorizing: loop hasDisableAllTransformsHint
3737; FORCEDONLY-NOT: LV: Not vectorizing: #pragma vectorize disable
5050loop:
5151 %iv = phi i64 [ 0 , %entry ], [ %inc , %loop ]
5252 %arrayidx = getelementptr inbounds nuw double , ptr %src , i64 %iv
53- store double 0 , ptr %arrayidx , align 8
53+ store double 0 . 0 , ptr %arrayidx , align 8
5454 %inc = add nuw nsw i64 %iv , 1
5555 %exitcond.not = icmp eq i64 %inc , 15
5656 br i1 %exitcond.not , label %exit , label %loop , !llvm.loop !0
@@ -69,10 +69,10 @@ exit:
6969
7070; RUN: opt -passes=loop-vectorize -pass-remarks=loop-vectorize \
7171; RUN: -pass-remarks-missed=loop-vectorize \
72- ; RUN: -pass-remarks-analysis=loop-vectorize -debug -disable-output \
72+ ; RUN: -pass-remarks-analysis=loop-vectorize -debug -o - \
7373; RUN: -force-vector-interleave=1 -force-vector-width=2 \
7474; RUN: < %s 2>&1 | FileCheck %s
75- ; CHECK-LABEL: disable_nonforced:
75+ ; CHECK-LABEL: @ disable_nonforced
7676; CHECK-NOT: LV: We can vectorize this loop
7777; CHECK-NOT: LV: Not vectorizing: #pragma vectorize disable.
7878; CHECK-NOT: LV: Not vectorizing: VectorizeOnlyWhenForced is set
0 commit comments