[llvm] [LV] Change loops' interleave count computation (PR #73766)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 30 06:23:46 PST 2023
================
@@ -5727,8 +5729,12 @@ LoopVectorizationCostModel::selectInterleaveCount(ElementCount VF,
}
// If trip count is known or estimated compile time constant, limit the
- // interleave count to be less than the trip count divided by VF, provided it
- // is at least 1.
+ // interleave count to be less than the trip count divided by VF * 2,
----------------
fhahn wrote:
Would be good to move the commit to the code
https://github.com/llvm/llvm-project/pull/73766
More information about the llvm-commits
mailing list