[llvm] [AMDGPU][NFC] Print the peak pressure across an instruction in downward RP mode (PR #228291)

Lucas Ramirez via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 01:54:35 PDT 2026


lucas-rami wrote:

> This is NFC today, because the downward tracker only updates MaxPressure once at the end of advanceToNext(), so the peak and the pressure after the instruction are the same value.

Can't `advanceToNext` reduce pressure if the instruction being processed kills some previously live lanes of a defined register? This would make `CurPressure != MaxPressure` after the call and the change not NFC.

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


More information about the llvm-commits mailing list