This is an archive of the discontinued LLVM Phabricator instance.

[X86][GlobalISel] Add support for sret demotion
ClosedPublic

Authored by sepavloff on Sep 19 2022, 6:33 AM.

Details

Summary

The change add support for the cases when return value is passed in
memory rathen than in registers.

Diff Detail

Event Timeline

sepavloff created this revision.Sep 19 2022, 6:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 6:33 AM
sepavloff requested review of this revision.Sep 19 2022, 6:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 6:33 AM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm added inline comments.Sep 19 2022, 6:34 AM
llvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
742

Also needs a test on the caller side

Add test for caller

arsenm accepted this revision.Sep 19 2022, 10:53 AM
This revision is now accepted and ready to land.Sep 19 2022, 10:53 AM
This revision was automatically updated to reflect the committed changes.