[all-commits] [llvm/llvm-project] 460ea8: [nfc][thinlto] Handle global constant importing se...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Apr 27 12:22:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 460ea850148b10dfd30cce32b2ac600b313324c4
      https://github.com/llvm/llvm-project/commit/460ea850148b10dfd30cce32b2ac600b313324c4
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/lib/IR/ModuleSummaryIndex.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp

  Log Message:
  -----------
  [nfc][thinlto] Handle global constant importing separately

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.

Differential Revision: https://reviews.llvm.org/D149298




More information about the All-commits mailing list