[llvm] [SimplifyCFG] Added optimization for switches of powers of two (PR #70977)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 22:38:16 PDT 2023


dtcxzyw wrote:

Please add some regression tests (including negative tests, e.g., switch with non-unreachable default case).

https://github.com/llvm/llvm-project/pull/70977


More information about the llvm-commits mailing list