[PATCH] D70369: llvm/ObjCARC: Split OptimizeIndividualCallImpl out of OptimizeIndividualCalls, NFC

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 20:00:04 PST 2019


dexonsmith created this revision.
dexonsmith added reviewers: ahatanak, rjmccall.
Herald added subscribers: ributzka, hiraditya.
Herald added a project: LLVM.

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`.


https://reviews.llvm.org/D70369

Files:
  llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70369.229741.patch
Type: text/x-patch
Size: 21682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191118/e2c99b2c/attachment.bin>


More information about the llvm-commits mailing list