[all-commits] [llvm/llvm-project] 671a87: [llvm][Inliner] Add an optional PriorityInlineOrder
Liqiang TAO via All-commits
all-commits at lists.llvm.org
Fri Jun 18 19:20:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 671a87104b8132e45718a9584cbb7ed97916683f
https://github.com/llvm/llvm-project/commit/671a87104b8132e45718a9584cbb7ed97916683f
Author: Liqiang Tao <taolq at outlook.com>
Date: 2021-06-19 (Sat, 19 Jun 2021)
Changed paths:
M llvm/lib/Transforms/IPO/Inliner.cpp
M llvm/test/Transforms/Inline/inline_call.ll
M llvm/test/Transforms/Inline/inline_invoke.ll
M llvm/test/Transforms/Inline/last-callsite.ll
Log Message:
-----------
[llvm][Inliner] Add an optional PriorityInlineOrder
This patch adds an optional PriorityInlineOrder, which uses the heap to order inlining.
The callsite which size is smaller would have a higher priority.
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D104028
More information about the All-commits
mailing list