[PATCH] D93073: [llvm-cov gcov] Replace Donald B. Johnson's cycle enumeration with iterative cycle finding
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 10 15:11:56 PST 2020
MaskRay created this revision.
MaskRay added a reviewer: xinhaoyuan.
Herald added a subscriber: hiraditya.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
We are essentially performing cycle cancelling. Since we don't actually need to
enumerate every cycle (simple circuit), Donald B. Johnson's cycle enumeration is
unnecessary here. Replace it with a simple cycle finding algorithm.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93073
Files:
llvm/include/llvm/ProfileData/GCOV.h
llvm/lib/ProfileData/GCOV.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93073.311037.patch
Type: text/x-patch
Size: 6685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201210/bfd08f38/attachment.bin>
More information about the llvm-commits
mailing list