[llvm] [AMDGPU][NFC] Move InstrCounterType and Waitcnt to new file AMDGPUWaitcnt.h (PR #187823)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 24 02:42:44 PDT 2026


jayfoad wrote:

> Waitcnt is used in GCNHazardRecognizer

Well yes, but there's only one and it is trivial and could easily be replaced by a one-liner with a hard-coded constant. It doesn't even need to be future-proof, or support GFX12+ style waitcnts, since it is for a hazard that only applies to GFX10.1.

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


More information about the llvm-commits mailing list