This is an archive of the discontinued LLVM Phabricator instance.

Update the LangRef description of the 'returned' attribute
ClosedPublic

Authored by hfinkel on Jul 10 2016, 2:47 PM.

Details

Summary

The description of the 'returned' attribute says that it is only used when code-generating the caller. I'd like to make the optimizer smarter about looking through functions with returned arguments (generally, but motivated by my llvm.noalias work). As David pointed out in the review of D22202, the LangRef should be updated to make its expanded uses clearer.

Diff Detail

Event Timeline

hfinkel updated this revision to Diff 63437.Jul 10 2016, 2:47 PM
hfinkel retitled this revision from to Update the LangRef description of the 'returned' attribute.
hfinkel updated this object.
hfinkel added reviewers: majnemer, chandlerc, reames.
hfinkel added a subscriber: llvm-commits.
majnemer accepted this revision.Jul 10 2016, 2:52 PM
majnemer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jul 10 2016, 2:52 PM
This revision was automatically updated to reflect the committed changes.