[llvm] [LV] Consider interleaving when -enable-wide-lane-mask=true (PR #163387)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 02:49:07 PST 2025


================
@@ -249,6 +249,10 @@ static cl::opt<TailFoldingStyle> ForceTailFoldingStyle(
                    "Use predicated EVL instructions for tail folding. If EVL "
                    "is unsupported, fallback to data-without-lane-mask.")));
 
+cl::opt<bool> llvm::EnableWideActiveLaneMask(
+    "enable-wide-lane-mask", cl::init(false), cl::Hidden,
+    cl::desc("Enable use of wide get active lane mask instructions"));
----------------
david-arm wrote:

nit: Perhaps just say 'Enable use of wide lane masks when used for control flow in tail-folded loops'?

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


More information about the llvm-commits mailing list