[llvm] [SimplifyCFG] Transform switch to select when common bits uniquely identify one case (PR #145233)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 2 07:55:50 PDT 2025


https://github.com/dtcxzyw approved this pull request.

LGTM. We may generalize this pattern in the future since some "free" bits may be known. But I think the current implementation is enough to cover the motivating cases.


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


More information about the llvm-commits mailing list