This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Place returns on stack if they would violate VGPR limit
ClosedPublic

Authored by critson on Jun 14 2023, 6:07 AM.

Details

Summary

Check no VGPRs above configured maximum would be used by a return
when deciding if it can be lowered.

Diff Detail

Event Timeline

critson created this revision.Jun 14 2023, 6:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 6:07 AM
critson requested review of this revision.Jun 14 2023, 6:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 6:07 AM
sebastian-ne accepted this revision.Jun 14 2023, 7:26 AM

Not optimal, but definitely more correct than before, thanks!

This revision is now accepted and ready to land.Jun 14 2023, 7:26 AM
This revision was landed with ongoing or failed builds.Jun 14 2023, 10:07 PM
This revision was automatically updated to reflect the committed changes.