[all-commits] [llvm/llvm-project] 4a0de6: [llvm] Add interface to order inlining

Liqiang TAO via All-commits all-commits at lists.llvm.org
Mon Jun 7 03:36:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a0de622c34e0cb86b22a8e5f38dfd388e07e2fc
      https://github.com/llvm/llvm-project/commit/4a0de622c34e0cb86b22a8e5f38dfd388e07e2fc
  Author: Liqiang Tao <taolq at outlook.com>
  Date:   2021-06-07 (Mon, 07 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,
e.g. use queue or priority queue.

Reviewed By: kazu

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




More information about the All-commits mailing list