[PATCH] D109565: Teach SimplifyCFG to fold switches into lookup tables in more cases.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 13:20:42 PDT 2021


lebedev.ri added a comment.

Won't this also skip non-zero-offset GEP's?
Are you sure you don't want `stripPointerCasts()`/`stripPointerCastsAndAliases()`/`stripPointerCastsSameRepresentation()` instead?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109565



More information about the llvm-commits mailing list