[Mlir-commits] [mlir] 73df481 - [MLIR][NFC] Remove unused MLIRContext declaration
Uday Bondhugula
llvmlistbot at llvm.org
Sat May 8 06:37:41 PDT 2021
Author: Uday Bondhugula
Date: 2021-05-08T19:07:24+05:30
New Revision: 73df48158bf5460b5e3497ccec0df4c62c570fad
URL: https://github.com/llvm/llvm-project/commit/73df48158bf5460b5e3497ccec0df4c62c570fad
DIFF: https://github.com/llvm/llvm-project/commit/73df48158bf5460b5e3497ccec0df4c62c570fad.diff
LOG: [MLIR][NFC] Remove unused MLIRContext declaration
Remove unused MLIRContext declaration. NFC.
Differential Revision: https://reviews.llvm.org/D102103
Added:
Modified:
mlir/lib/Support/MlirOptMain.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Support/MlirOptMain.cpp b/mlir/lib/Support/MlirOptMain.cpp
index a5b4fda743b2e..f3f9ec322191e 100644
--- 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; });
}
More information about the Mlir-commits
mailing list