summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile/compact-binary-profile.ll
Commit message (Collapse)AuthorAgeFilesLines
* [SampleFDO] Add a new compact binary format for sample profile.Wei Mi2018-06-111-0/+121
Name table occupies a big chunk of size in current binary format sample profile. In order to reduce its size, the patch changes the sample writer/reader to save/restore MD5Hash of names in the name table. Sample annotation phase will also use MD5Hash of name to query samples accordingly. Experiment shows compact binary format can reduce the size of sample profile by 2/3 compared with binary format generally. Differential Revision: https://reviews.llvm.org/D47955 llvm-svn: 334447
OpenPOWER on IntegriCloud