[llvm] [LV] Add support for partial alias masking with tail folding (PR #182457)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 17 04:07:50 PDT 2026


================
@@ -4603,6 +4604,9 @@ class VPlan {
   /// Represents the loop-invariant VF * UF of the vector loop region.
   VPSymbolicValue VFxUF;
 
+  /// Represents the loop-invariant alias of the vector loop region.
+  VPSymbolicValue AliasMask;
----------------
gbossu wrote:

Purely out of curiosity: why is is adding a new (potentially unused) `VPSymbolicValue` problematic? Is it because it then requires a new transformation to materialise it, and adding a new VPinstruction instead would require smaller and more localised code changes?

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


More information about the llvm-commits mailing list