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:
1acd9a1
)
[MLIR][NFC] Remove unused MLIRContext declaration
author
Uday Bondhugula
<uday@polymagelabs.com>
Sat, 8 May 2021 13:15:14 +0000
(18:45 +0530)
committer
Uday Bondhugula
<uday@polymagelabs.com>
Sat, 8 May 2021 13:37:24 +0000
(19:07 +0530)
Remove unused MLIRContext declaration. NFC.
Differential Revision: https://reviews.llvm.org/D102103
mlir/lib/Support/MlirOptMain.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Support/MlirOptMain.cpp
b/mlir/lib/Support/MlirOptMain.cpp
index
a5b4fda
..
f3f9ec3
100644
(file)
--- a/
mlir/lib/Support/MlirOptMain.cpp
+++ b/
mlir/lib/Support/MlirOptMain.cpp
@@
-202,7
+202,6
@@
LogicalResult mlir::MlirOptMain(int argc, char **argv, llvm::StringRef toolName,
std::string helpHeader = (toolName + "\nAvailable Dialects: ").str();
{
llvm::raw_string_ostream os(helpHeader);
- MLIRContext context;
interleaveComma(registry.getDialectNames(), os,
[&](auto name) { os << name; });
}