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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 12:12:31 PDT 2024


================
@@ -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.
----------------
fhahn wrote:

Updated, thanks!

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


More information about the llvm-commits mailing list