[llvm] [SimplifyCFG] Convert switch to cmp/select sequence (PR #82795)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 10:16:12 PDT 2024


https://github.com/XChy commented:

Generally, it's hard for me to understand the details of your code. Could you please add more comments to explain? And I think it's not always profitable to convert a big switch into a long select sequence. We need to add a threshold for it.

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


More information about the llvm-commits mailing list