[llvm] [LV] Create block in mask up-front if needed. (PR #76635)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 02:07:12 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 BB.
+ VPValue *getBlockInMask(BasicBlock *BB);
----------------
fhahn wrote:
Done, thanks. Also fixed the doc-comment
https://github.com/llvm/llvm-project/pull/76635
More information about the llvm-commits
mailing list