@@ -333,10 +333,10 @@ Value *VPTransformState::get(VPValue *Def, bool NeedsScalar) {
333333
334334 // However, if we are vectorizing, we need to construct the vector values.
335335 // If the value is known to be uniform after vectorization, we can just
336- // broadcast the scalar value corresponding to lane zero for each unroll
337- // iteration. Otherwise, we construct the vector values using
338- // insertelement instructions. Since the resulting vectors are stored in
339- // State, we will only generate the insertelements once.
336+ // broadcast the scalar value corresponding to lane zero. Otherwise, we
337+ // construct the vector values using insertelement instructions. Since the
338+ // resulting vectors are stored in State, we will only generate the
339+ // insertelements once.
340340 Value *VectorValue = nullptr ;
341341 if (IsUniform) {
342342 VectorValue = GetBroadcastInstrs (ScalarValue);
@@ -769,15 +769,15 @@ void VPRegionBlock::execute(VPTransformState *State) {
769769
770770 // Enter replicating mode.
771771 State->Instance = VPIteration (0 , 0 );
772- assert (!State->VF .isScalable () && " VF is assumed to be non scalable." );
773- for (unsigned Lane = 0 , VF = State->VF .getKnownMinValue (); Lane < VF;
774- ++Lane) {
775- State->Instance ->Lane = VPLane (Lane, VPLane::Kind::First);
776- // Visit the VPBlocks connected to \p this, starting from it.
777- for (VPBlockBase *Block : RPOT) {
778- LLVM_DEBUG (dbgs () << " LV: VPBlock in RPO " << Block->getName () << ' \n ' );
779- Block->execute (State);
780- }
772+ assert (!State->VF .isScalable () && " VF is assumed to be non scalable." );
773+ for (unsigned Lane = 0 , VF = State->VF .getKnownMinValue (); Lane < VF;
774+ ++Lane) {
775+ State->Instance ->Lane = VPLane (Lane, VPLane::Kind::First);
776+ // Visit the VPBlocks connected to \p this, starting from it.
777+ for (VPBlockBase *Block : RPOT) {
778+ LLVM_DEBUG (dbgs () << " LV: VPBlock in RPO " << Block->getName () << ' \n ' );
779+ Block->execute (State);
780+ }
781781 }
782782
783783 // Exit replicating mode.
0 commit comments