[llvm] [LV] Add initial support for partial alias masking (PR #177599)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 9 03:47:10 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 *getRTClampedVF() {
+ if (!ClampedVF)
+ return nullptr;
+ return get(ClampedVF, /*IsScalar=*/true);
+ }
+
----------------
fhahn wrote:
Can we avoid this by instead adding the VF as operand to the required recipes, then have them handled like any other recipe?
If that's possible, this could probably be done as NFC change
https://github.com/llvm/llvm-project/pull/177599
More information about the llvm-commits
mailing list