This is an archive of the discontinued LLVM Phabricator instance.

Run objc-arc-contract when arc module flag is set
Needs ReviewPublic

Authored by steven_wu on Feb 20 2015, 2:36 PM.

Details

Summary

objc-arc-contract is running unconditionally now in LTO. Since we
introduced the module flag for ARC in clang, we only need to run
that when the module flag is set.

This is relaying on the change in http://reviews.llvm.org/D7799
Not sure if I should add the pass to llc as well.

Diff Detail

Event Timeline

steven_wu updated this revision to Diff 20436.Feb 20 2015, 2:36 PM
steven_wu retitled this revision from to Run objc-arc-contract when arc module flag is set.
steven_wu updated this object.
steven_wu edited the test plan for this revision. (Show Details)
steven_wu added reviewers: dexonsmith, gottesmm.
steven_wu added a subscriber: Unknown Object (MLST).
dexonsmith resigned from this revision.Oct 6 2020, 3:35 PM