[llvm] [AMDGPU] Fix GCNUpwardRPTracker. (WIP) (PR #71186)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 09:16:56 PST 2023
================
@@ -180,6 +190,13 @@ class GCNDownwardRPTracker : public GCNRPTracker {
MachineBasicBlock::const_iterator getNext() const { return NextMI; }
+ // Return MaxPressure and clear it.
+ decltype(MaxPressure) moveMaxPressure() {
----------------
jayfoad wrote:
Why use decltype? It's longer than GCNRegPressure.
https://github.com/llvm/llvm-project/pull/71186
More information about the llvm-commits
mailing list