[PATCH] D15057: [PGO] Enable common VP format in profile runtime
David Li via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 13:57:55 PST 2015
davidxl updated this revision to Diff 41674.
davidxl added a comment.
Updated the patch according to Betul's feedback.
1. uses getNumValueKindsRT to determine if a function can be skipped (the size method will always return >0 size for the header due to indexed format restriction)
2. enhanced test case to cover the case when no value data is collected -- the resulting profile data should be mergable with the case when value profile data exist
The data race problem to I->Values still exist -- I will have a follow up patch to deal with it.
http://reviews.llvm.org/D15057
Files:
lib/profile/InstrProfiling.c
test/profile/instrprof-value-prof.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15057.41674.patch
Type: text/x-patch
Size: 14202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151202/881cad36/attachment.bin>
More information about the llvm-commits
mailing list