Unverified Commit 2d9f3504 authored by Corbin Robeck's avatar Corbin Robeck Committed by GitHub
Browse files

[AMDGPU] Consolidate SGPRSpill and VGPRSpill into single Spill bit (#81901)

Follow on to #81525 in the series of consolidating bits in TSFlags.

Merge SGPRSpill and VGPRSpill into single Spill bit

Modify isSGPRSpill and isVGPRSpill helper functions to differentiate
VGPR and SGPR spills:

Spill+SALU=SGPR Spill
Spill+VALU=VGPR Spill

The only exception here is SGPR spills to VGPRs which require an
explicit instruction check.
parent a4ce8708
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