[llvm] [VPlan] Explicitly unroll replicate-regions without live-outs by VF. (PR #170212)

Andrei Elovikov via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 10:34:48 PDT 2026


================
@@ -544,6 +544,38 @@ void VPlanTransforms::unrollByUF(VPlan &Plan, unsigned UF) {
   VPlanTransforms::removeDeadRecipes(Plan);
 }
 
+/// Add a start index to \p Steps for \p Lane by combining any existing start
+/// index with the lane offset. \p Builder is used to insert new recipes before
+/// \p Steps.
----------------
eas wrote:

The last sentence is confusing. If we know where to insert, why do we need `Builder` as a parameter?

https://github.com/llvm/llvm-project/pull/170212


More information about the llvm-commits mailing list