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

Owen Anderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 19:28:43 PDT 2021


resistor added a comment.

In D109565#2995449 <https://reviews.llvm.org/D109565#2995449>, @lebedev.ri wrote:

> Won't this also skip non-zero-offset GEP's?

Yes, that's intentional. See the comment and the other thread of discussion.


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