[llvm] [SimplifyCFG] Convert switch to cmp/select sequence (PR #82795)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 11:49:48 PDT 2024
nikic wrote:
@tsymalla If this is targeted at GPUs, maybe the SpeculativeExecution pass would be a better fit? That's the one that does the kind of aggressive speculation that's only really profitable for GPU targets. Currently it only handles branches, but it could probably be generalized to handle switches as well.
https://github.com/llvm/llvm-project/pull/82795
More information about the llvm-commits
mailing list