[all-commits] [llvm/llvm-project] 783cb8: llvm/ObjCARC: Split OptimizeIndividualCallImpl out...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Sun Nov 17 22:02:56 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 783cb86b616d9de59213ea17649d6e2df8c1ebbb
      https://github.com/llvm/llvm-project/commit/783cb86b616d9de59213ea17649d6e2df8c1ebbb
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2019-11-17 (Sun, 17 Nov 2019)

  Changed paths:
    M llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp

  Log Message:
  -----------
  llvm/ObjCARC: Split OptimizeIndividualCallImpl out of OptimizeIndividualCalls, NFC

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




More information about the All-commits mailing list