[all-commits] [llvm/llvm-project] 5faf4b: [ModuleInliner] Move UseInlinePriority to InlineOr...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Sep 17 11:41:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5faf4bf19572ed84c020e7c1289e853ac2b94827
      https://github.com/llvm/llvm-project/commit/5faf4bf19572ed84c020e7c1289e853ac2b94827
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-17 (Sat, 17 Sep 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineOrder.h
    M llvm/lib/Analysis/InlineOrder.cpp
    M llvm/lib/Transforms/IPO/ModuleInliner.cpp

  Log Message:
  -----------
  [ModuleInliner] Move UseInlinePriority to InlineOrder.cpp (NFC)

UseInlinePriority specifies the priority function.  This patch
simplifies the code by moving UseInlinePriority closer to the actual
consumer -- the switch statement inside getInlineOrder.

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




More information about the All-commits mailing list