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

Thomas Symalla via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 11:16:45 PDT 2024


tsymalla wrote:

> The PR description says _what_ this does without explaining _why_. This does not look look like a generally (or even commonly) profitable transform to me, so more context on what you're trying to achieve here would be helpful.

Agree, I think the idea is to get rid of cases where we create lots of conditional code from switches instead of v_cndmasks. Will talk to you offline.

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


More information about the llvm-commits mailing list