[PATCH] D62067: [Support] Time profiler: support new PassManager

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 00:44:39 PST 2019


anton-afanasyev added a comment.

Starting from D71059 <https://reviews.llvm.org/D71059> time profiler supports multiple threads, this is a step to support new PassManager.
Regarding note about "why not to use new PM infrastructure for whole time profiler?" The current implementation of time profiler is independent and used by frontend (clang) and ThinLTO (lld). It is  rather simple to use by adding just one line at the start of the profiled scope. I'm not sure new PM infrastructure is appropriate for it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62067





More information about the llvm-commits mailing list