This is an archive of the discontinued LLVM Phabricator instance.

[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
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.

Diff Detail

Event Timeline

mtrofin created this revision.Apr 20 2023, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2023, 1:17 PM
mtrofin requested review of this revision.Apr 20 2023, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2023, 1:17 PM
This 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
This revision was automatically updated to reflect the committed changes.