llvm
525318e5 - [AMDGPU][LIT] Added a MIR LIT showing the SGPR spills (#94584)

Commit
1 year ago
[AMDGPU][LIT] Added a MIR LIT showing the SGPR spills (#94584) This MIR test case is added to seek the consumption of VGPR lanes being used for SGPR spills during si-lower-sgpr-spills pass of AMDGPU pass pipeline. Basically, in this pass, stack slots are mapped to available VGPR lanes for spilling purpose, thus ending the need for stack slots. In current scenario, each new SGPR spill goes into new VGPR lanes as, being mapped from its distinct stack slots assigned during SGPR allocation pass. It can be clearly seen in the added test case.
Author
Parents
Loading