[PATCH] D104654: [llvm][Inliner] Make PriorityInlineOrder lazily updated
Liqiang Tao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 21 17:17:46 PDT 2021
taolq added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/Inliner.cpp:851
std::unique_ptr<InlineOrder<std::pair<CallBase *, int>>> Calls;
- if (InlineEnablePriorityOrder)
+ if (!InlineEnablePriorityOrder)
Calls = std::make_unique<PriorityInlineOrder>();
----------------
kazu wrote:
> Do you really mean to put `!` here?
Oh, I forgot to remove the hard code for testing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104654/new/
https://reviews.llvm.org/D104654
More information about the llvm-commits
mailing list