[llvm] [VPlan] Connect (MemRuntime|SCEV)Check blocks as VPlan transform (NFC). (PR #143879)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 5 12:25:06 PDT 2025
================
@@ -548,6 +552,9 @@ class LoopVectorizationPlanner {
VPRecipeBuilder &RecipeBuilder,
ElementCount MinVF);
+ /// Add the runtime checks from \p RTChecks to \p VPlan.
----------------
ayalz wrote:
If refraining from adjusting the position is only to avoid test changes, worth indicating in a TODO.
But keeping the IRBB's detached is a design decision - to keep the original IR intact, until VPlan execution, which starts with SCEV expansions in the original header block.
https://github.com/llvm/llvm-project/pull/143879
More information about the llvm-commits
mailing list