[llvm-branch-commits] [llvm] [AMDGPU] Put back ProperlyAlignedRC helper functions (PR #175000)

Christudasan Devadasan via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 12 02:26:10 PST 2026


cdevadas wrote:

> This should not be reintroduced. Instruction constraints should be taken directly from the relevant use instructions, this is unnecessary hardcoding. Spills should not have hard alignment restrictions

Can you elaborate on it? How, during RA, can the newly introduced regclasses be constrained for their uses? Currently, there is an MIR verifier error for the spill and its subsequent uses for not meeting the alignment requirements.

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


More information about the llvm-branch-commits mailing list