File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1458,10 +1458,11 @@ class LoopVectorizationCostModel {
14581458 return getTailFoldingStyle () != TailFoldingStyle::None;
14591459 }
14601460
1461- // / Return maximum safe number of elements to be processed, which do not
1462- // / prevent store-load forwarding and are safe with regard to the memory
1463- // / dependencies. Required for EVL-based VPlans to correctly calculate AVL
1464- // / (application vector length) as min(remaining AVL, MaxSafeElements).
1461+ // / Return maximum safe number of elements to be processed per vector
1462+ // / iteration, which do not prevent store-load forwarding and are safe with
1463+ // / regard to the memory dependencies. Required for EVL-based VPlans to
1464+ // / correctly calculate AVL (application vector length) as min(remaining AVL,
1465+ // / MaxSafeElements).
14651466 // / TODO: need to consider adjusting cost model to use this value as a
14661467 // / vectorization factor for EVL-based vectorization.
14671468 std::optional<unsigned > getMaxSafeElements () const { return MaxSafeElements; }
You can’t perform that action at this time.
0 commit comments