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

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 10:24:15 PDT 2024


================
@@ -11,21 +11,71 @@ define dso_local void @test(ptr %start, ptr %end) #0 {
 ; CHECK-LABEL: @test(
----------------
ayalz wrote:

Time to replace above FIXME by a comment that under -O2 adjacent branches get fused into a switch statement before vectorization.

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


More information about the llvm-commits mailing list