[llvm] [AMDGPU][SIInsertWaitcnt][NFC] Move eventCounter() function (PR #178949)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 4 08:36:51 PST 2026


================
@@ -487,6 +478,16 @@ class WaitcntGenerator {
   // WaitEventType to corresponding counter values in InstCounterType.
   virtual const WaitEventSet *getWaitEventMask() const = 0;
 
+  /// \Returns the counter that corresponds to event \p E.
----------------
vporpo wrote:

Done

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


More information about the llvm-commits mailing list