[llvm] [LV] Support generating masks for switch terminators. (PR #99808)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Aug  8 10:24:13 PDT 2024
    
    
  
================
@@ -104,9 +181,62 @@ define void @switch_all_dests_distinct(ptr %start, ptr %end) {
 ; FORCED-LABEL: define void @switch_all_dests_distinct(
----------------
ayalz wrote:
Sanity check: is it indeed unprofitable to vectorize this case having four distinct destinations, say by VF=4 and UF=1, as decided by COST?
https://github.com/llvm/llvm-project/pull/99808
    
    
More information about the llvm-commits
mailing list