Files
clang-p2996/llvm/test/Transforms/LoopVectorize/tail-folding-switch.ll
Florian Hahn 60680f7181 [LV] Handle SwitchInst in ::isPredicatedInst.
After f0df4fbd0c, isPredicatedInst needs to handle SwitchInst as well.
Handle it the same as BranchInst.

This fixes a crash in the newly added test and improves the results for
one of the existing tests in predicate-switch.ll

Should fix https://lab.llvm.org/buildbot/#/builders/113/builds/2099.
2024-08-11 20:56:58 +01:00

5.4 KiB