[PATCH] D151165: [ThinLTO] Make the cache key independent of the module identifier paths

Argyrios Kyrtzidis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 17:31:09 PDT 2023


akyrtzi updated this revision to Diff 524540.
akyrtzi added a comment.
Herald added a subscriber: arphaman.

Use `Index.getModule()` to get both `ModuleId` and the hash, so that we do only one lookup for both.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151165/new/

https://reviews.llvm.org/D151165

Files:
  llvm/include/llvm/IR/ModuleSummaryIndex.h
  llvm/lib/LTO/LTO.cpp
  llvm/test/ThinLTO/X86/cache-decoupled-from-filenames.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151165.524540.patch
Type: text/x-patch
Size: 4917 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230523/d7f6e9fa/attachment.bin>


More information about the llvm-commits mailing list