[llvm] [AMDGPU] Refactor several functions for merging with downstream work. (PR #110562)
Gang Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 07:41:55 PDT 2024
================
@@ -310,7 +310,14 @@ class WaitcntBrackets {
bool counterOutOfOrder(InstCounterType T) const;
void simplifyWaitcnt(AMDGPU::Waitcnt &Wait) const;
void simplifyWaitcnt(InstCounterType T, unsigned &Count) const;
- void determineWait(InstCounterType T, int RegNo, AMDGPU::Waitcnt &Wait) const;
+
+ void determineWait(InstCounterType T, RegInterval Interval,
+ AMDGPU::Waitcnt &Wait) const;
+ void determineWait(InstCounterType T, int RegNo,
----------------
cmc-rep wrote:
RegNo is the index to the register scoreboard inside WaitcntBrackets structure, not MCPhysReg
https://github.com/llvm/llvm-project/pull/110562
More information about the llvm-commits
mailing list