[nfc][thinlto] Separate `selectCallee` legality from cutoffs
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. Differential Revision: https://reviews.llvm.org/D148838
Loading
Please sign in to comment