[llvm] [LV] Support generating masks for switch terminators. (PR #99808)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 10:24:13 PDT 2024
================
@@ -134,6 +134,10 @@ class VPRecipeBuilder {
/// Returns the *entry* mask for the block \p BB.
VPValue *getBlockInMask(BasicBlock *BB) const;
+ /// Create masks for all cases with destination different than the default
+ /// destination, and a mask for the default destination.
----------------
ayalz wrote:
```suggestion
/// Create an edge mask for every destination of cases and/or default.
```
https://github.com/llvm/llvm-project/pull/99808
More information about the llvm-commits
mailing list