[PATCH] D95296: [SimplifyCFG] Don't create switch from two equality comparisons (WIP)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 23 13:26:25 PST 2021


lebedev.ri added a comment.

There are other folds that do that, e.g. `FoldValueComparisonIntoPredecessors()`.
I think it would be better to teach at least the LoopRotate about switches.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95296/new/

https://reviews.llvm.org/D95296



More information about the llvm-commits mailing list