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).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
include/llvm/IR/ModuleSummaryIndex.h | ||
---|---|---|
746 ↗ | (On Diff #120924) | I'd write uint64_t(ModHash[0]) << 32 to make it unambiguous what is being extended. |