This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Lower SRet pointer arguments
ClosedPublic

Authored by Petar.Avramovic on Sep 4 2019, 8:16 AM.

Details

Summary

Instead of returning structure by value clang usually adds pointer to
that structure as an argument. Pointers don't require special handling
no matter the SRet flag. Remove unsuccessful exit from lowerCall
for arguments with SRet flag if they are pointers.

Diff Detail

Repository
rL LLVM

Event Timeline

Petar.Avramovic created this revision.Sep 4 2019, 8:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 4 2019, 8:16 AM
This revision is now accepted and ready to land.Sep 4 2019, 1:16 PM
This revision was automatically updated to reflect the committed changes.