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

Zhizhou Yang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 13:19:28 PDT 2018


zhizhouy updated this revision to Diff 156859.
zhizhouy added a comment.

Fixed the failure issue.

The tests failures are actually caused by isCounterSet(). This version keeps the behavior of the function by checking if command line option is set or not.


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.156859.patch
Type: text/x-patch
Size: 8068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180723/df3a85a9/attachment.bin>


More information about the llvm-commits mailing list