[PATCH] D14401: [PGO] Make indexed value profile data more compact and add structural definitions for the data format

David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 23:22:17 PST 2015


davidxl updated this revision to Diff 39635.
davidxl added a comment.

1. addressed Justin's comments
2. consolidate byte swap code for reader/writer
3. added byte swap related interfaces purely for the purpose of testing

4. increased test coverage by added a new unittest that streams in/out value profile data in big endian order and force byte swapping to happen.


http://reviews.llvm.org/D14401

Files:
  include/llvm/ProfileData/InstrProf.h
  include/llvm/ProfileData/InstrProfReader.h
  include/llvm/ProfileData/InstrProfWriter.h
  lib/ProfileData/InstrProfReader.cpp
  lib/ProfileData/InstrProfWriter.cpp
  unittests/ProfileData/InstrProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14401.39635.patch
Type: text/x-patch
Size: 27465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151107/bd70e54a/attachment.bin>


More information about the llvm-commits mailing list