]> granicus.if.org Git - llvm/commitdiff
[ThinLTO][Bitcode] Add 'entrycount' to FS_COMBINED_PROFILE. NFC
authorEugene Leviant <eleviant@accesssoftek.com>
Thu, 13 Jun 2019 12:33:26 +0000 (12:33 +0000)
committerEugene Leviant <eleviant@accesssoftek.com>
Thu, 13 Jun 2019 12:33:26 +0000 (12:33 +0000)
Differential revision: https://reviews.llvm.org/D63078

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363254 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Writer/BitcodeWriter.cpp

index 6cbe5b13da26c4e9983c17ef565b43f3f0d01c82..1f39fa34a8bb96b6d9dae3f4928ee13bdc591cd8 100644 (file)
@@ -3851,6 +3851,7 @@ void IndexBitcodeWriter::writeCombinedGlobalValueSummary() {
   Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6));   // flags
   Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));   // instcount
   Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4));   // fflags
+  Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));   // entrycount
   Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4));   // numrefs
   Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4));   // immutablerefcnt
   // numrefs x valueid, n x (valueid, hotness)