Page MenuHomePhabricator

[AMDGPU] Fix illegal VGPR to SGPR copy in FP elimination

Authored by rampitec on Tue, Oct 6, 1:01 PM.



If a frame pointer was used in a S_MOV_B32 we were generating
V_MOV_B32 regardless.

Diff Detail

Event Timeline

rampitec created this revision.Tue, Oct 6, 1:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptTue, Oct 6, 1:01 PM
rampitec requested review of this revision.Tue, Oct 6, 1:01 PM
rampitec abandoned this revision.Tue, Oct 6, 5:19 PM

It needs more to make it working. We only have one offset value, so to use flat scratch we would need some pointer arithmetic on the FI and SP and then FI can occur in other SALU too.