Make MLIR Pass Timing output configurable through injection
authorMehdi Amini <joker.eph@gmail.com>
Mon, 27 Apr 2020 23:38:17 +0000 (23:38 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 28 Apr 2020 01:39:25 +0000 (01:39 +0000)
commitf65a3f7c83b29fe76e91abd88b34d6b8755b0e0e
tree07bd70106a0560001dbf14ab98370cf1c463a447
parentcd84bfb8142bc7ff3a07a188ffb809f1d86d1fd7
Make MLIR Pass Timing output configurable through injection

This makes it possible for the client to control where the pass timings will
be printed.

Differential Revision: https://reviews.llvm.org/D78891
mlir/include/mlir/Pass/PassManager.h
mlir/lib/Pass/PassManagerOptions.cpp
mlir/lib/Pass/PassTiming.cpp