1; RUN: opt -S < %s -loop-vectorize -force-vector-width=4 | FileCheck %s 2 3declare void @llvm.sideeffect() 4 5; Vectorization across a @llvm.sideeffect. 6 7; CHECK-LABEL: store_ones 8; CHECK: store <4 x float> 9define void @store_ones(float* %p, i64 %n) nounwind { 10bb7.lr.ph: 11 br label %bb7 12 13bb7: 14 %i.02 = phi i64 [ 0, %bb7.lr.ph ], [ %tmp13, %bb7 ] 15 call void @llvm.sideeffect() 16 %tmp10 = getelementptr inbounds float, float* %p, i64 %i.02 17 store float 1.0, float* %tmp10, align 4 18 %tmp13 = add i64 %i.02, 1 19 %tmp6 = icmp ult i64 %tmp13, %n 20 br i1 %tmp6, label %bb7, label %bb14 21 22bb14: 23 ret void 24} 25