[all-commits] [llvm/llvm-project] e6521c: [NFC][PartialInliner]: Clean up code

etiotto via All-commits all-commits at lists.llvm.org
Thu Oct 22 11:40:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e6521ce0642583881a899e0cc52dcb4a5011fc48
      https://github.com/llvm/llvm-project/commit/e6521ce0642583881a899e0cc52dcb4a5011fc48
  Author: Ettore Tiotto <etiotto at ca.ibm.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/PartialInlining.cpp

  Log Message:
  -----------
  [NFC][PartialInliner]: Clean up code

Make member function const where possible, use LLVM_DEBUG to print debug traces
rather than a custom option, pass by reference to avoid null checking, ...

Reviewed By: fhann

Differential Revision: https://reviews.llvm.org/D89895




More information about the All-commits mailing list