[mlir] Support passing ostream as argument for the create function.
authorOkwan Kwon <okwan@google.com>
Thu, 9 Jun 2022 22:11:36 +0000 (15:11 -0700)
committerOkwan Kwon <okwan@google.com>
Thu, 9 Jun 2022 23:34:22 +0000 (16:34 -0700)
commit5ccb9df3ba3b246fd38990bc97aca47844cf3aa4
tree4aedecbca2430e50dafd7b193f173a3013928d16
parentf2f8ce9699f1108eb544be6a5b7a7dbf1bd9ffae
[mlir] Support passing ostream as argument for the create function.

The constructor already supports passing an ostream as argument,
so let's make the create function support it too.

Differential Revision: https://reviews.llvm.org/D127449
mlir/include/mlir/Transforms/Passes.h
mlir/lib/Transforms/OpStats.cpp