[llvm-branch-commits] [llvm] [AMDGPU][HWEvents] Refactor VMEM_ACCESS as VMEM_READ_ACCESS (PR #204545)

Pierre van Houtryve via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 26 01:01:57 PDT 2026


================
@@ -303,8 +303,11 @@ class WaitcntGeneratorPreGFX12 final : public WaitcntGenerator {
                         AMDGPU::Waitcnt Wait,
                         const WaitcntBrackets &ScoreBrackets) override;
 
-  const HWEvents &getWaitEvents(AMDGPU::InstCounterType T) const override {
----------------
Pierre-vh wrote:

No, it's not unrelated. We can now return a temporary value instead of a reference to the entry in the table, so that's why I had to eliminate the const ref 

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


More information about the llvm-branch-commits mailing list