This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix large return values with amdgpu_gfx
ClosedPublic

Authored by sebastian-ne on Apr 15 2021, 3:56 AM.

Details

Summary

Returning in memory is not supported, so fall back to sret.
Also, extend i1 and i16 to i32. Otherwise, they would be passed through
memory.

Diff Detail

Event Timeline

sebastian-ne created this revision.Apr 15 2021, 3:56 AM
sebastian-ne requested review of this revision.Apr 15 2021, 3:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2021, 3:56 AM
arsenm accepted this revision.Apr 15 2021, 5:53 AM
This revision is now accepted and ready to land.Apr 15 2021, 5:53 AM
This revision was automatically updated to reflect the committed changes.