[llvm] [LoopVectorize] Generate wide active lane masks (PR #147535)

Kerry McLaughlin via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 06:21:59 PDT 2025


================
@@ -1446,6 +1448,92 @@ static bool isConditionTrueViaVFAndUF(VPValue *Cond, VPlan &Plan,
   return SE.isKnownPredicate(CmpInst::ICMP_EQ, VectorTripCount, C);
 }
 
+static bool useWideActiveLaneMask(VPlan &Plan, ElementCount VF, unsigned UF) {
----------------
kmclaughlin-arm wrote:

Renamed to `tryToReplaceALMWithWideALM` and added documentation.

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


More information about the llvm-commits mailing list