[llvm-branch-commits] [llvm] [2/3][AMDGPU] Physical register tracking in GCN trackers. (PR #184275)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 24 09:52:22 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,h -- llvm/lib/Target/AMDGPU/GCNIterativeScheduler.cpp llvm/lib/Target/AMDGPU/GCNRegPressure.cpp llvm/lib/Target/AMDGPU/GCNRegPressure.h llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp llvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/GCNRegPressure.cpp b/llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
index 95baeb1e0..39b7cd972 100644
--- a/llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
+++ b/llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
@@ -732,10 +732,9 @@ void GCNUpwardRPTracker::recede(const MachineInstr &MI) {
auto PhysPressure = constructPhysRegPressure();
assert(CurPressure == VirtPressure + PhysPressure ||
(dbgs() << "Pressure mismatch in recede()\nMI: " << MI
- << "Tracked: " << print(CurPressure)
- << "Expected: " << print(VirtPressure + PhysPressure)
- << "Virt: " << print(VirtPressure)
- << "Phys: " << print(PhysPressure),
+ << "Tracked: " << print(CurPressure) << "Expected: "
+ << print(VirtPressure + PhysPressure) << "Virt: "
+ << print(VirtPressure) << "Phys: " << print(PhysPressure),
false));
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/184275
More information about the llvm-branch-commits
mailing list