Remove the use of global dialect registration from the standalone-translate.cpp example (NFC)

This commit is contained in:
Mehdi Amini 2020-08-26 05:08:32 +00:00
parent 1948acb61b
commit a3ef1054fd

View File

@ -48,10 +48,8 @@ static llvm::cl::opt<bool> verifyDiagnostics(
llvm::cl::init(false));
int main(int argc, char **argv) {
mlir::registerAllDialects();
mlir::registerAllTranslations();
mlir::registerDialect<mlir::standalone::StandaloneDialect>();
// TODO: Register standalone translations here.
llvm::InitLLVM y(argc, argv);