Files
llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Krzysztof Drewniak 9a14f0f5e7 [AMDGPU] Emit s_barrier_signal for s.barrier.signal.var when able (#191028)
When the member count is 0 (which causes the barrier's member count to
be re-used from a previous barrier initialization or
s.barrier.signal.var) and the barrier is constant, we can represent
named barrier signaling with the m0-less form. Enable this behavior.

Assisted by Opus 4.6 which drafted the initial implementation.
2026-04-08 16:22:30 -07:00

259 KiB