projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
690de85
)
[mlir] create PrintOpStatsPass using printAsJSON
author
Okwan Kwon
<okwan@google.com>
Wed, 15 Jun 2022 21:42:32 +0000
(14:42 -0700)
committer
Okwan Kwon
<okwan@google.com>
Wed, 15 Jun 2022 21:49:54 +0000
(14:49 -0700)
This was missed by the previous commit in OpStats.cpp.
mlir/lib/Transforms/OpStats.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Transforms/OpStats.cpp
b/mlir/lib/Transforms/OpStats.cpp
index 0ee49e371b8dded8e05480628798bcdde09c361f..b5d8f3e3dfbca6652bc295357d1ee966158b8b19 100644
(file)
--- 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
);
}