diff options
author | Eugene Leviant <eleviant@accesssoftek.com> | 2019-06-13 12:33:26 +0000 |
---|---|---|
committer | Eugene Leviant <eleviant@accesssoftek.com> | 2019-06-13 12:33:26 +0000 |
commit | b00dbcbb43bae65f19a992dd74af7678e3529c6d (patch) | |
tree | 8ae10339a1d9716782c5bae288b1b4db17a8629e /llvm/lib/Bitcode | |
parent | 88e636dfc15d76252c4e1aee0c80e19bdfa65f86 (diff) | |
download | llvm-b00dbcbb43bae65f19a992dd74af7678e3529c6d.zip llvm-b00dbcbb43bae65f19a992dd74af7678e3529c6d.tar.gz llvm-b00dbcbb43bae65f19a992dd74af7678e3529c6d.tar.bz2 |
[ThinLTO][Bitcode] Add 'entrycount' to FS_COMBINED_PROFILE. NFC
Differential revision: https://reviews.llvm.org/D63078
llvm-svn: 363254
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 6cbe5b1..1f39fa3 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -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) |