This makes it easier to reuse the legality part for other import
policies that wouldn't use thresholds.
Importing un-inlinable functions is also legal, because they could be
further specialized in a context-specific way, without inlining.
Paths
| Differential D148838
[nfc][thinlto] Separate `selectCallee` legality from cutoffs ClosedPublic Authored by mtrofin on Apr 20 2023, 1:17 PM.
Details Summary This makes it easier to reuse the legality part for other import Importing un-inlinable functions is also legal, because they could be
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Apr 20 2023, 3:15 PM This revision was landed with ongoing or failed builds.Apr 20 2023, 5:29 PM Closed by commit rG496c914bb893: [nfc][thinlto] Separate `selectCallee` legality from cutoffs (authored by mtrofin). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 515454 llvm/lib/Transforms/IPO/FunctionImport.cpp
|