Refactor mlir-opt setup in a new helper function (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Sat, 15 Aug 2020 19:02:56 +0000 (19:02 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 15 Aug 2020 20:09:06 +0000 (20:09 +0000)
commit54ce3443149ce3d1e743a0b1f60ff08136fca843
tree0b6d7ed76d8b0cc6f13115b68b2d3cd265b7fe79
parent93c761f5e5b05c8ee54062f43d9c34bb75a0c2bb
Refactor mlir-opt setup in a new helper function (NFC)

This will help refactoring some of the tools to prepare for the explicit registration of
Dialects.

Differential Revision: https://reviews.llvm.org/D86023
mlir/examples/standalone/standalone-opt/standalone-opt.cpp
mlir/include/mlir/Support/MlirOptMain.h
mlir/lib/Support/MlirOptMain.cpp
mlir/tools/mlir-opt/mlir-opt.cpp