[llvm] [VPlan] Move predication to VPlanTransform (NFC). (PR #128420)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 20 07:01:46 PDT 2025
================
@@ -196,38 +180,10 @@ class VPRecipeBuilder {
Ingredient2Recipe[I] = R;
}
- /// Create the mask for the vector loop header block.
- void createHeaderMask();
-
- /// 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.
- void createBlockInMask(const VPBasicBlock *VPBB) {
- return createBlockInMask(VPB2IRBB.lookup(VPBB));
- }
- void createBlockInMask(BasicBlock *BB);
-
- /// Returns the *entry* mask for the block \p VPBB.
- VPValue *getBlockInMask(const VPBasicBlock *VPBB) const {
- return getBlockInMask(VPB2IRBB.lookup(VPBB));
- }
-
/// Returns the *entry* mask for the block \p BB.
----------------
ayalz wrote:
```suggestion
/// Returns the *entry* mask for block \p VPBB or null if the mask is full.
```
https://github.com/llvm/llvm-project/pull/128420
More information about the llvm-commits
mailing list