Refactor a MlirOptMainConfig class to hold the configuration of MlirOptMain (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Sat, 25 Feb 2023 22:04:08 +0000 (17:04 -0500)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 25 Feb 2023 22:04:29 +0000 (17:04 -0500)
commit8d2e0c16e691797f11a713a5601dc01e50d8734a
treeadcefdfdc1067c9075a5283f345d82e351f28657
parentaa6dc8ec4775874fc1e86fca9c971fd544e52639
Refactor a MlirOptMainConfig class to hold the configuration of MlirOptMain (NFC)

The list of boolean flags and others is becoming unresonnably long.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D143829
mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
mlir/lib/Tools/mlir-opt/MlirOptMain.cpp