[all-commits] [llvm/llvm-project] a740b7: [llvm][Inliner] Add an optional PriorityInlineOrder
Liqiang TAO via All-commits
all-commits at lists.llvm.org
Fri Jun 18 02:00:51 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a740b707d1937621dcf56579001bcad87b81724f
https://github.com/llvm/llvm-project/commit/a740b707d1937621dcf56579001bcad87b81724f
Author: Liqiang Tao <taolq at outlook.com>
Date: 2021-06-18 (Fri, 18 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
M llvm/test/Transforms/Inline/monster_scc.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