[llvm] [LV] Add initial support for partial alias masking (PR #177599)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 25 22:59:32 PST 2026


================
@@ -278,6 +278,13 @@ struct VPTransformState {
     Iter->second[CacheIdx] = V;
   }
 
+  /// Returns the runtime clamped VF (or nullptr if the VF is not clamped).
+  Value *getClampedVF() {
----------------
gbossu wrote:

Nit: It took some time to understand that "clamped" doesn't just mean "we are creating a new VPlan with a limited range of "VF". Instead, it represents a runtime limitation of the VF. Maybe just add `Runtime` in the function name to make that explicit?

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


More information about the llvm-commits mailing list