[PATCH] D148838: [nfc][thinlto] Separate `selectCallee` legality from cutoffs

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 13:17:34 PDT 2023


mtrofin created this revision.
mtrofin added a reviewer: tejohnson.
Herald added subscribers: ormris, hiraditya, inglorion.
Herald added a project: All.
mtrofin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148838

Files:
  llvm/lib/Transforms/IPO/FunctionImport.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148838.515454.patch
Type: text/x-patch
Size: 6730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230420/1e77269f/attachment.bin>


More information about the llvm-commits mailing list