[llvm] [clang] [clang-tools-extra] [AMDGPU] Fix GCNUpwardRPTracker. (WIP) (PR #71186)
Valery Pykhtin via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 02:55:42 PST 2023
================
@@ -128,14 +128,7 @@ class GCNRPTracker {
void clearMaxPressure() { MaxPressure.clear(); }
- GCNRegPressure getPressure() const { return CurPressure; }
-
- // returns MaxPressure, resetting it
- decltype(MaxPressure) moveMaxPressure() {
- auto Res = MaxPressure;
- MaxPressure.clear();
- return Res;
- }
+ const GCNRegPressure &getPressure() const { return CurPressure; }
----------------
vpykhtin wrote:
Done.
https://github.com/llvm/llvm-project/pull/71186
More information about the llvm-commits
mailing list