[llvm] [SimplifyCFG] Do not run `simplifySwitchOfPowersOfTwo` in early invocations (PR #145477)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 24 01:31:14 PDT 2025


https://github.com/nikic commented:

Can you please add a PhaseOrdering test that demonstrates why this is useful?

Also, can we reasonably bind this to one of the existing switch options (like ConvertSwitchToLookupTable)? We have sooo many options already.

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


More information about the llvm-commits mailing list