[ThinLTO] Double bits of module hash used for renaming
authorTeresa Johnson <tejohnson@google.com>
Tue, 31 Oct 2017 12:56:09 +0000 (12:56 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 31 Oct 2017 12:56:09 +0000 (12:56 +0000)
commitd1089e5cea535741b728e4582b0456612f626db9
tree32350934523abce22657afe27e0afb6729b9a345
parentff426d974d43af496e283257b67145cefdf0b555
[ThinLTO] Double bits of module hash used for renaming

Summary:
Use 64 instead of 32 bits of the module hash as the suffix when renaming
after promotion to reduce the likelihood of a collision (which we
observed in a binary when using 32 bits).

Reviewers: pcc

Subscribers: llvm-commits, inglorion

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

llvm-svn: 316996
llvm/include/llvm/IR/ModuleSummaryIndex.h