[llvm] [SimplifyCFG] Improve range reducing for switches (PR #67882)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 01:09:27 PDT 2023


dtcxzyw wrote:

> But your PR seems to be a special case of handling sparse values? Is it possible to handle this type of issue like [rust-lang/rust#114106 (comment)](https://github.com/rust-lang/rust/issues/114106#issuecomment-1657131825) does.

I will try optimizing sparse switches with perfect hashing. Thank you!


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


More information about the llvm-commits mailing list