[llvm] [VPlan] Split out optimizeEVLMasks. NFC (PR #174925)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 10 13:14:37 PST 2026


================
@@ -266,6 +266,14 @@ struct VPlanTransforms {
   addExplicitVectorLength(VPlan &Plan,
----------------
fhahn wrote:

migh be a good opporunity to clarfiy the documentation here, perhaps worth mentioning that this replaces the header mask.

>   /// replaces all uses except the canonical IV increment of
> /// VPCanonicalIVPHIRecipe with a VPEVLBasedIVPHIRecipe.

it may also have to introduce a new phi to track the EVL of the previous iteration

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


More information about the llvm-commits mailing list