[llvm] [AMDGPU] Add baseline test to show spilling of wmma scale. NFC (PR #168163)
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 15 15:28:20 PST 2025
qcolombet wrote:
> This is to show the spilling of WMMA scale values which are limited to low 256 VGPRs. We have free registers, just RA allocates low 256 first. The only problem, this test is large.
Can you maybe capture the test at the mir level and constraint the liveness using KILL instructions with a bunch of defs and uses?
Alternatively you could play with clobber list with inline asm to artificially constraint the available register.
Finally, you may be able to leverage the `stress-regalloc` option to burn some registers without having a long sequence of instruction.
https://github.com/llvm/llvm-project/pull/168163
More information about the llvm-commits
mailing list