[all-commits] [llvm/llvm-project] 9d8e53: [AMDGPU] Refactor getNonSoftWaitcntOpcode and its ...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Jan 12 09:12:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d8e53818ded8268da2df43e73880073fcf02922
      https://github.com/llvm/llvm-project/commit/9d8e53818ded8268da2df43e73880073fcf02922
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h

  Log Message:
  -----------
  [AMDGPU] Refactor getNonSoftWaitcntOpcode and its callers (#77933)

This avoids listing all soft waitcnt opcodes in two places
(getNonSoftWaitcntOpcode and isSoftWaitcnt) and avoids the need for
helpers isWaitcnt and isWaitcntVsCnt.




More information about the All-commits mailing list