[llvm] [VPlan] Run narrowInterleaveGroups during general VPlan optimizations. (PR #149706)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 04:17:32 PDT 2025
================
@@ -3934,14 +3936,14 @@ static bool canNarrowLoad(VPWidenRecipe *WideMember0, unsigned OpIdx,
return false;
}
-/// Returns true if \p IR is a full interleave group with factor and number of
-/// members both equal to \p VF. The interleave group must also access the full
-/// vector width \p VectorRegWidth.
-static bool isConsecutiveInterleaveGroup(VPInterleaveRecipe *InterleaveR,
- unsigned VF, VPTypeAnalysis &TypeInfo,
- unsigned VectorRegWidth) {
+/// Returns VF from \p VFs if \p IR is a full interleave group with factor and
+/// number of members both equal to VF. The interleave group must also access
+/// the full vector width \p VectorRegWidth.
----------------
david-arm wrote:
nit: Looks like `VectorRegWidth` is no longer a function argument. Perhaps just drop the final `\p VectorRegWidth` from the comment?
https://github.com/llvm/llvm-project/pull/149706
More information about the llvm-commits
mailing list