lebedev.ri added a comment. The alternative to teaching looprotate/LV about switches is to make swiches non-canonical in the first half of the pipeline, before LV. That is, don't form them, and aggressively expand any and all existing switches.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108138/new/ https://reviews.llvm.org/D108138 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits