Skip to content

Commit 8173da8

Browse files
author
GYT
committed
fix test
1 parent b895a97 commit 8173da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ entry:
4848
loop:
4949
%iv = phi i64 [ 0, %entry ], [ %inc, %loop ]
5050
%rdx = phi double [ 0.000000e+00, %entry ], [ %add, %loop ]
51-
%arrayidx = getelementptr inbounds nuw double, ptr %distmat1, i64 %iv
51+
%arrayidx = getelementptr inbounds nuw double, ptr %src, i64 %iv
5252
%1 = load double, ptr %arrayidx, align 8
5353
%sub = fsub fast double %1, 1.234e+0
5454
%mul = fmul fast double %sub, %sub
55-
%add = fadd fast double %mul, %RMSD
55+
%add = fadd fast double %mul, %rdx
5656
%inc = add nuw nsw i64 %iv, 1
5757
%exitcond.not = icmp eq i64 %inc, 15
5858
br i1 %exitcond.not, label %exit, label %loop, !llvm.loop !0

0 commit comments

Comments
 (0)