[llvm] [AMDGPU] Add register pressure guard on LLVM-IR level to prevent harmful optimizations (PR #171267)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 7 06:50:50 PST 2026


arsenm wrote:

> Can codegen sinking recognize when IR-level sinking has increased register pressure and counteract the negative effects of IR sinking?

That's what it's supposed to do, yes. It doesn't need to care how it got to that point though 

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


More information about the llvm-commits mailing list