[llvm] [LV] Create block in mask up-front if needed. (PR #76635)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 07:22:23 PST 2024
================
@@ -138,8 +138,11 @@ class VPRecipeBuilder {
/// A helper function that computes the predicate of the block BB, assuming
/// that the header block of the loop is set to True or the loop mask when
- /// tail folding. It returns the *entry* mask for the block BB.
- VPValue *createBlockInMask(BasicBlock *BB, VPlan &Plan);
+ /// tail folding.
+ void createBlockInMask(BasicBlock *BB, VPlan &Plan);
+
+ /// Returns the *entry* mask for the block \p BB.
+ VPValue *getBlockInMask(BasicBlock *BB) const;
----------------
antoniofrighetto wrote:
Shouldn't these two be `createMaskInBlock` and `getMaskInBlock` respectively?
https://github.com/llvm/llvm-project/pull/76635
More information about the llvm-commits
mailing list