This is an archive of the discontinued LLVM Phabricator instance.

[Extension] Optimizing passed by-value const objects.
AcceptedPublic

Authored by lvoufo on Oct 9 2015, 5:39 PM.

Details

Summary

Continued from D13603, handling functions that are defined with const parameters.

Diff Detail

Event Timeline

lvoufo updated this revision to Diff 37011.Oct 9 2015, 5:39 PM
lvoufo retitled this revision from to [Extension] Optimizing passed by-value const objects..
lvoufo updated this object.
lvoufo added a subscriber: cfe-commits.
lvoufo updated this revision to Diff 37012.Oct 9 2015, 5:41 PM

Update patch (Wrong patch submitted earlier).

rsmith accepted this revision.Dec 2 2015, 5:08 PM
rsmith added a reviewer: rsmith.
rsmith added a subscriber: rsmith.

This looks fine (subject to the observation in D13603 that MarkWriteOnceWrittenRAII can just be a function rather than an RAII class type).

This revision is now accepted and ready to land.Dec 2 2015, 5:08 PM