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

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 06:19:55 PDT 2025


================
@@ -44,6 +44,7 @@ class VPRecipeBuilder;
 struct VFRange;
 
 extern cl::opt<bool> EnableVPlanNativePath;
+extern cl::opt<bool> EnableWideActiveLaneMask;
----------------
david-arm wrote:

This is useful for testing the new feature, although I guess to enable this by default in future you'll either need a new TTI hook to query the target's preference or compare the costs of using a wider mask + UF extracts with the costs of using UF normal masks and see which is cheapest?

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


More information about the llvm-commits mailing list