1; RUN: opt < %s -loop-vectorize -S 2 3define void @foo() local_unnamed_addr { 4entry: 5 %exitcond = icmp eq i64 3, 3 6 br label %for.body 7 8for.body: ; preds = %entry 9 %i.05 = phi i64 [ %inc, %for.body ], [ 0, %entry ] 10 %total1 = add nsw i64 %i.05, 3 11 %inc = add nuw nsw i64 %i.05, 1 12 br i1 %exitcond, label %for.end, label %for.body, !llvm.loop !0 13 14for.end: ; preds = %for.body 15 ret void 16} 17 18!0 = distinct !{!0, !1} 19!1 = !{!"llvm.loop.vectorize.enable", i1 true} 20