[llvm] [LoopVectorizer] Prune VFs based on plan register pressure (PR #132190)
Sam Tebbs via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 07:01:46 PDT 2025
================
@@ -4532,7 +4515,16 @@ static bool hasReplicatorRegion(VPlan &Plan) {
[](auto *VPRB) { return VPRB->isReplicator(); });
}
+/// Estimate the register usage for \p Plan and vectorization factors in \p VFs
+/// by calculating the highest number of values that are live at a single
+/// location as a rough estimate. Returns the register usage for each VF in \p
+/// VFs.
----------------
SamTebbs33 wrote:
Done.
https://github.com/llvm/llvm-project/pull/132190
More information about the llvm-commits
mailing list