Page MenuHomePhabricator

AMDGPU/GlobalISel: Handle most function return types
ClosedPublic

Authored by arsenm on Jul 19 2019, 9:42 AM.

Details

Reviewers
tstellar
nhaehnle
Summary

handleAssignments gives up pretty easily on structs, and i8 values for
some reason. The other case that doesn't work is when an implicit
sret needs to be inserted if the return size exceeds the number of
return registers.

Diff Detail

Event Timeline

arsenm created this revision.Jul 19 2019, 9:42 AM
tstellar accepted this revision.Jul 25 2019, 2:17 PM

LGTM.

This revision is now accepted and ready to land.Jul 25 2019, 2:17 PM
arsenm closed this revision.Jul 25 2019, 7:35 PM

r367082