[PATCH] D96398: [LTO] Pre-populate IsDSOLocal result in combined index

Wei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 22:43:32 PST 2021


weiwang created this revision.
Herald added subscribers: hoy, wenlei, arphaman, steven_wu, hiraditya, inglorion.
weiwang requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Compute IsDSOLocal for GUIDs in GlobalValueMap from combined module
summary index and save the results before going into ThinBackend. This
avoids the repeated query of this information during function
importing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96398

Files:
  llvm/include/llvm/IR/ModuleSummaryIndex.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/IR/ModuleSummaryIndex.cpp
  llvm/lib/LTO/LTO.cpp
  llvm/lib/LTO/ThinLTOCodeGenerator.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96398.322598.patch
Type: text/x-patch
Size: 5007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210210/b16a564a/attachment.bin>


More information about the llvm-commits mailing list