[all-commits] [llvm/llvm-project] 496c91: [nfc][thinlto] Separate `selectCallee` legality fr...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Thu Apr 20 17:29:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 496c914bb89314a4eb874d85847ed3868968bbf9
https://github.com/llvm/llvm-project/commit/496c914bb89314a4eb874d85847ed3868968bbf9
Author: Mircea Trofin <mtrofin at google.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionImport.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list