[llvm] [VPlan] Create edge mask for single-destination switch (PR #179107)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 1 19:47:48 PST 2026
================
@@ -225,6 +225,10 @@ void VPPredicator::createSwitchEdgeMasks(VPInstruction *SI) {
DefaultMask = Builder.createNot(DefaultMask);
if (SrcMask)
DefaultMask = Builder.createLogicalAnd(SrcMask, DefaultMask);
+ } else {
+ // There are no other destinations than the default destination, so this is
----------------
lukel97 wrote:
Nit
```suggestion
// There are no destinations other than the default destination, so this is
```
https://github.com/llvm/llvm-project/pull/179107
More information about the llvm-commits
mailing list