[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)
commit066071f53f9feedbaaa81fc47129e727135a42d1
tree683059e55a188292a7588a0fbed725dba1712f67
parent4f7d658ee00eb05abef86f1f99431dd49f2feaa4
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316996 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/ModuleSummaryIndex.h