Unverified Commit f9cd7896 authored by Christudasan Devadasan's avatar Christudasan Devadasan Committed by GitHub
Browse files

[AMDGPU] Add pseudo instructions for SGPR spill to VGPR (#69923)

For a future patch, is it important to keep the lowered SGPR
spills to be recognized as spill instructions during regalloc.
Directly lowering them into V_WRITELANE/V_READLANE won't allow
us to attach the SPILL flag to their instructions.

This patch introduces the pseudo instructions with the SGPRSpill
flag set in their Desc. They will get lowered to equivalent
instructions later during post RA pseudo expansion.
parent 9bcb30d3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment