weiwei chen 77c6339197
[MLIR][mlir-opt] Add registerationAndParseCLIOptions for MlirOptMain. (#70581)
Seprate registeration and CLI parsing from `MlirOptMain` to
`mlir::registrationAndParseCLIOptions` and a new `MlirOptMain` so that
external tools to drive `mlir-opt` can call these two new APIs to get CLI
option values before running `MlirOptMain`.
2023-10-29 22:58:33 -04:00
..