[llvm] [AMDGPU] Skip functions with convergence tokens in AtomicOptimizer (PR #227929)

Mian Miftah via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 18:54:16 PDT 2026


mmiftahx wrote:

Hi @arsenm @yxsamliu @ssahasra could you please review ? 

Reproducer: on main, `llc -mtriple=amdgpu9.00-amd-amdhsa` on the test input fails the verifer with `-amdgpu-atomic-optimizer-strategy=None` it compiles.

The alternative is to give the new calls convergence tokens. I went with skipping, since clang only emits them for DXIL and logical SPIR-V, never for AMDGPU

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


More information about the llvm-commits mailing list