[llvm] r345124 - [ThinLTO] Change parameter type. NFC
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 24 01:59:58 PDT 2018
Author: evgeny777
Date: Wed Oct 24 01:59:58 2018
New Revision: 345124
URL: http://llvm.org/viewvc/llvm-project?rev=345124&view=rev
Log:
[ThinLTO] Change parameter type. NFC
Change destination module type for consistency with r345118
Modified:
llvm/trunk/lib/IR/ModuleSummaryIndex.cpp
Modified: llvm/trunk/lib/IR/ModuleSummaryIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/ModuleSummaryIndex.cpp?rev=345124&r1=345123&r2=345124&view=diff
==============================================================================
--- llvm/trunk/lib/IR/ModuleSummaryIndex.cpp (original)
+++ llvm/trunk/lib/IR/ModuleSummaryIndex.cpp Wed Oct 24 01:59:58 2018
@@ -242,7 +242,7 @@ void ModuleSummaryIndex::exportToDot(raw
};
auto DrawEdge = [&](const char *Pfx, uint64_t SrcMod, GlobalValue::GUID SrcId,
- int DstMod, GlobalValue::GUID DstId, int TypeOrHotness) {
+ uint64_t DstMod, GlobalValue::GUID DstId, int TypeOrHotness) {
// 0 corresponds to alias edge, 1 to ref edge, 2 to call with unknown
// hotness, ...
TypeOrHotness += 2;
More information about the llvm-commits
mailing list