This is an archive of the discontinued LLVM Phabricator instance.

llvm/ObjCARC: Split OptimizeIndividualCallImpl out of OptimizeIndividualCalls, NFC
ClosedPublic

Authored by dexonsmith on Nov 17 2019, 7:59 PM.

Details

Reviewers
ahatanak
rjmccall
Summary

Split out a helper function for the individual call optimizations and
skip useless calls to it (where the instruction is not an ARC
intrinsic). Besides reducing indentation (and possibly speeding up
compile time in some small way), an upcoming patch will add additional
calls and expand out the switch.

Diff Detail

Event Timeline

dexonsmith created this revision.Nov 17 2019, 7:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2019, 7:59 PM
rjmccall accepted this revision.Nov 17 2019, 9:48 PM

LGTM.

This revision is now accepted and ready to land.Nov 17 2019, 9:48 PM