[ThinLTO] Make the cache key independent of the module identifier paths
authorArgyrios Kyrtzidis <kyrtzidis@apple.com>
Mon, 22 May 2023 22:16:20 +0000 (15:16 -0700)
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>
Tue, 23 May 2023 04:41:01 +0000 (21:41 -0700)
commitbacb45eb9a776c032f69d55a561fa450ba545c57
tree2a5eb68d640d86871a0f547b5bbcbb1cad49a783
parent61bc3ada1f9088a852126d5556f837f24683160b
[ThinLTO] Make the cache key independent of the module identifier paths

Otherwise there are cache misses just from changing the name of a path, even though the input modules did not change.

rdar://109672225

Differential Revision: https://reviews.llvm.org/D151165
llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/lib/LTO/LTO.cpp
llvm/test/ThinLTO/X86/cache-decoupled-from-filenames.ll [new file with mode: 0644]