Skip to content

Commit 31f83bc

Browse files
- Add VPI->cost back into Select case in selectVectorizationFactor
1 parent 1277ce9 commit 31f83bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4214,6 +4214,7 @@ VectorizationFactor LoopVectorizationPlanner::selectVectorizationFactor() {
42144214
}
42154215
}
42164216
}
4217+
C += VPI->cost(VF, CostCtx);
42174218
break;
42184219
}
42194220
case VPInstruction::ActiveLaneMask: {

0 commit comments

Comments
 (0)