[PATCH] D149298: [nfc][thinlto] Handle global constant importing separately

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 14:43:14 PDT 2023


mtrofin created this revision.
mtrofin added a reviewer: tejohnson.
Herald added subscribers: hoy, ormris, arphaman, 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 the logic for referenced globals reusable for import criteria
that don't use thresholds - in fact, we currently didn't consider any
thresholds when importing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149298

Files:
  llvm/include/llvm/IR/ModuleSummaryIndex.h
  llvm/lib/IR/ModuleSummaryIndex.cpp
  llvm/lib/Transforms/IPO/FunctionImport.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149298.517322.patch
Type: text/x-patch
Size: 9776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230426/155660fd/attachment.bin>


More information about the llvm-commits mailing list