[llvm] [LV] Change loops' interleave count computation (PR #73766)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 3 06:14:51 PST 2024
================
@@ -1248,8 +1248,10 @@ class LoopVectorizationCostModel {
/// \return The desired interleave count.
/// If interleave count has been specified by metadata it will be returned.
/// Otherwise, the interleave count is computed and returned. VF and LoopCost
- /// are the selected vectorization factor and the cost of the selected VF.
- unsigned selectInterleaveCount(ElementCount VF, InstructionCost LoopCost);
+ /// are the selected vectorization factor and the cost of the selected VF for
----------------
fhahn wrote:
There should be no need to pass `L`, as `LoopVectorizationCostMOdel` stores it already in `TheLoop`?
https://github.com/llvm/llvm-project/pull/73766
More information about the llvm-commits
mailing list