[llvm] [LV] Support generating masks for switch terminators. (PR #99808)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 11 07:24:41 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.
----------------
fhahn wrote:

Done, thanks!

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


More information about the llvm-commits mailing list