[llvm-branch-commits] [llvm] [AMDGPU] Physical register tracking in GCN trackers. (PR #184275)

Dhruva Chakrabarti via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 5 12:48:25 PST 2026


dhruvachak wrote:

> I really don't like how we're maintaining a parallel pressure tracking system. I also don't really understand how this is representing physical registers due to the lane masks

I just updated the PR where I removed the lane masks. The separate pressure tracking system remains because of the following. There are a couple of existing code segments that compute virtual RP by calling getRegPressure and compare against the stored virtual RP -- that's why I kept a separate GCNRegPressure for virtual and physical. Currently, physical RP is not factored into the above comparison.

https://github.com/llvm/llvm-project/pull/184275


More information about the llvm-branch-commits mailing list