[llvm] [AMDGPU] Implement Waitcnt Expansion for Profiling (PR #169345)
Pankaj Dwivedi via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 26 05:41:52 PST 2025
================
@@ -297,6 +302,30 @@ class WaitcntGenerator {
// optimization.
bool isOptNone() const { return OptNone; }
+ // Get the maximum wait count value for a given counter type
+ unsigned getWaitCountMax(InstCounterType T) const {
----------------
PankajDwivedi-25 wrote:
thank you, addressed in the recent patch.
https://github.com/llvm/llvm-project/pull/169345
More information about the llvm-commits
mailing list