[llvm] [Transforms/Util] Add SimplifySwitchVar pass (PR #149937)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 19:42:35 PDT 2025


arsenm wrote:

> Correct me if I am wrong, but I think we can't do lookup tables efficiently on AMDGPU due to high memory latencies. 

If we can use scalar loads it's probably not that bad, but requires benchmarking 

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


More information about the llvm-commits mailing list