[Mlir-commits] [mlir] f4ad203 - [mlir] create PrintOpStatsPass using printAsJSON
Okwan Kwon
llvmlistbot at llvm.org
Wed Jun 15 14:50:02 PDT 2022
Author: Okwan Kwon
Date: 2022-06-15T14:49:54-07:00
New Revision: f4ad2039307df26fb8b217ee61391f00a85ea620
URL: https://github.com/llvm/llvm-project/commit/f4ad2039307df26fb8b217ee61391f00a85ea620
DIFF: https://github.com/llvm/llvm-project/commit/f4ad2039307df26fb8b217ee61391f00a85ea620.diff
LOG: [mlir] create PrintOpStatsPass using printAsJSON
This was missed by the previous commit in OpStats.cpp.
Added:
Modified:
mlir/lib/Transforms/OpStats.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Transforms/OpStats.cpp b/mlir/lib/Transforms/OpStats.cpp
index 0ee49e371b8dd..b5d8f3e3dfbca 100644
--- a/mlir/lib/Transforms/OpStats.cpp
+++ b/mlir/lib/Transforms/OpStats.cpp
@@ -114,5 +114,5 @@ std::unique_ptr<Pass> mlir::createPrintOpStatsPass(raw_ostream &os) {
std::unique_ptr<Pass> mlir::createPrintOpStatsPass(raw_ostream &os,
bool printAsJSON) {
- return std::make_unique<PrintOpStatsPass>(os);
+ return std::make_unique<PrintOpStatsPass>(os, printAsJSON);
}
More information about the Mlir-commits
mailing list