[all-commits] [llvm/llvm-project] 525318: [AMDGPU][LIT] Added a MIR LIT showing the SGPR spi...

Vikash Gupta via All-commits all-commits at lists.llvm.org
Mon Jun 17 00:34:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 525318e5dc18fb4e6ec4f4dc4c7bcf92d31aa815
      https://github.com/llvm/llvm-project/commit/525318e5dc18fb4e6ec4f4dc4c7bcf92d31aa815
  Author: Vikash Gupta <35700483+vg0204 at users.noreply.github.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list