[PATCH] D49560: Add support to track total counts for DebugCounter

Zhizhou Yang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 13:38:40 PDT 2018


zhizhouy updated this revision to Diff 156597.
zhizhouy marked 5 inline comments as done.
zhizhouy added a comment.
Herald added a subscriber: mgorny.

Added a unit test for the change.

Tested with it and also three existing regression tests for debugcounter in test/Other.


Repository:
  rL LLVM

https://reviews.llvm.org/D49560

Files:
  include/llvm/Support/DebugCounter.h
  lib/Support/DebugCounter.cpp
  lib/Transforms/Scalar/NewGVN.cpp
  unittests/Support/CMakeLists.txt
  unittests/Support/DebugCounterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49560.156597.patch
Type: text/x-patch
Size: 7628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180720/47cfe38d/attachment.bin>


More information about the llvm-commits mailing list