[llvm] [VPlan] Move predication to VPlanTransform (NFC). (PR #128420)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 07:01:48 PDT 2025


================
@@ -224,6 +222,16 @@ struct VPlanTransforms {
   /// candidates.
   static void narrowInterleaveGroups(VPlan &Plan, ElementCount VF,
                                      unsigned VectorRegWidth);
+
+  /// Predicate and linearize the control-flow in the only loop region of
+  /// \p Plan. If \p FoldTail is true, also create a mask guarding the loop
+  /// header, otherwise use all-true for the header mask. Masks for blocks are
+  /// added to \p BlockMaskCache, which in turn will temporarily be used later
----------------
ayalz wrote:

```suggestion
  /// added to \p BlockMaskCache in order to be used later
```

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


More information about the llvm-commits mailing list