Page MenuHomePhabricator

[MIPS GlobalISel] Lower SRet pointer arguments
ClosedPublic

Authored by Petar.Avramovic on Wed, Sep 4, 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.Wed, Sep 4, 8:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Sep 4, 8:16 AM
This revision is now accepted and ready to land.Wed, Sep 4, 1:16 PM
This revision was automatically updated to reflect the committed changes.