[all-commits] [llvm/llvm-project] 478dc4: [llvm] Add interface to order inlining

Liqiang TAO via All-commits all-commits at lists.llvm.org
Sat Jun 5 21:03:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 478dc47292b2edfda25c9a3664b60b7ca8c55372
      https://github.com/llvm/llvm-project/commit/478dc47292b2edfda25c9a3664b60b7ca8c55372
  Author: Liqiang Tao <taolq at outlook.com>
  Date:   2021-06-06 (Sun, 06 Jun 2021)

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

  Log Message:
  -----------
  [llvm] Add interface to order inlining

This patch abstract Calls in Inliner:run() to InlineOrder.
With this patch, it's possible to customize the inlining order, i.e. use queue or priority queue.

Reviewed By: kazu

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




More information about the All-commits mailing list