[PATCH] D93036: [llvm-cov][gcov] Optimize the cycle counting algorithm by skipping zero count cycles

Xinhao Yuan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 10 14:39:20 PST 2020


xinhaoyuan updated this revision to Diff 311027.
xinhaoyuan added a comment.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.

Move the test to compiler-rt/test/profile, and get rid of the generated files.

Also add a check to match the result count.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93036/new/

https://reviews.llvm.org/D93036

Files:
  compiler-rt/test/profile/gcov-complex-line.c
  llvm/include/llvm/ProfileData/GCOV.h
  llvm/lib/ProfileData/GCOV.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93036.311027.patch
Type: text/x-patch
Size: 4661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201210/43235c02/attachment.bin>


More information about the llvm-commits mailing list