Skip to content

Commit a4eecdc

Browse files
author
GYT
committed
fix IR
1 parent 5f7c8b0 commit a4eecdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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 \
99
; RUN: < %s 2>&1 | FileCheck --check-prefix=METADATA %s
1010
; METADATA-LABEL: disabled_loop_vectorization:
1111
; METADATA-NOT: LV: We can vectorize this loop
@@ -29,7 +29,7 @@
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 \
3333
; RUN: 2>&1 | FileCheck --check-prefix=FORCEDONLY %s
3434
; FORCEDONLY-LABEL: disabled_loop_vectorization:
3535
; FORCEDONLY-NOT: LV: We can vectorize this loop
@@ -50,7 +50,7 @@ entry:
5050
loop:
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

0 commit comments

Comments
 (0)