================
@@ -1348,11 +1348,11 @@ bool
LoopVectorizationLegality::canVectorizeWithIfConvert() {
// Collect the blocks that need predication.
for (BasicBlock *BB : TheLoop->blocks()) {
// We don't support switch statements inside loops.
----------------
ayalz wrote:
```suggestion
// We support only branches and switch statements as terminators inside the
loop.
```
https://github.com/llvm/llvm-project/pull/99808
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits