This patch introduces the inline cost priority into the
module inliner, which uses the same computation as
InlineCost.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM modulo some comments. Thanks!
llvm/lib/Analysis/InlineOrder.cpp | ||
---|---|---|
2 | Could you put the standard file header here? //===- InlineOrder.cpp - Inlining order abstraction -*- C++ ---*-----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// | |
llvm/lib/Transforms/IPO/ModuleInliner.cpp | ||
153–154 | I'd suggest: auto Calls = getInlineOrder(UseInlinePriority, FAM, Params); |
Could you put the standard file header here?