[PATCH] D14893: [llvm-profdata] Change instr prof counter overflow to saturate rather than discard
Nathan Slingerland via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 23 14:17:35 PST 2015
slingn updated this revision to Diff 40978.
slingn added a comment.
Updated to use new version of SaturatingAdd() that sets if result overflow.
http://reviews.llvm.org/D14893
Files:
include/llvm/ProfileData/InstrProf.h
lib/ProfileData/InstrProfWriter.cpp
test/tools/llvm-profdata/overflow.proftext
unittests/ProfileData/InstrProfTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14893.40978.patch
Type: text/x-patch
Size: 4137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151123/fdf6ebdc/attachment-0001.bin>
More information about the llvm-commits
mailing list