[PATCH] D142853: [CGSCC] Add pass which counts the max number of times we visit a function

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 11:54:06 PST 2023


lenary added inline comments.


================
Comment at: llvm/test/Other/count-visits.ll:7
+
+; ONE: 1 count-visits - Max number of times we visited a function
+; TWO: 2 count-visits - Max number of times we visited a function
----------------
We're seeing test failures for this on non-asserts builds, which correspond to the message in `llvm/lib/Support/Statistic.cpp:250` about needing asserts to be enabled for statistics to work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142853



More information about the llvm-commits mailing list