[all-commits] [llvm/llvm-project] 203c5c: [AMDGPU][SIInsertWaitcnts] Create a WCG instance p...

vporpo via All-commits all-commits at lists.llvm.org
Thu Mar 12 16:34:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 203c5c58f2fe2ad5089aec33628ce944e68ccf5d
      https://github.com/llvm/llvm-project/commit/203c5c58f2fe2ad5089aec33628ce944e68ccf5d
  Author: vporpo <vasileios.porpodas at amd.com>
  Date:   2026-03-12 (Thu, 12 Mar 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    A llvm/test/CodeGen/AMDGPU/waitcnt-wcg-attributes.mir

  Log Message:
  -----------
  [AMDGPU][SIInsertWaitcnts] Create a WCG instance per MF (#185916)

WaitcntGenerator state depends on MF attributes, so create a new WCG object per MF
until we have a better solution. This patch also adds a test that exercises this.

Even though we stopped creating a new WCG instance in #177689, the behavior
didn't change because SIInsertWaitcnts gets recreated on every MF
(so this patch is practically an NFC).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list