[clang] [llvm] [AMDGPU] Implement Waitcnt Expansion for Profiling (PR #169345)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 08:02:02 PST 2025


jayfoad wrote:

> Implemented compiler option `-mamdgpu-expand-waitcnt-profiling` to expand `s_waitcnt` instructions with non-zero counter values into sequences for PC-sampling profiling.

Why would you restrict this to "non-zero counter values"?

Why does this need a new subtarget feature?

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


More information about the llvm-commits mailing list