mlir icon indicating copy to clipboard operation
mlir copied to clipboard

-mlir-print-op-generic does not appear in 'mlir-opt -h' help message

Open bondhugula opened this issue 6 years ago • 3 comments

The option -mlir-print-op-generic does not appear in the output of 'mlir-opt -h'. mlir-opt does accept it though.

bondhugula avatar Jun 23 '19 19:06 bondhugula

Does it show up in the --help-hidden output?

lattner avatar Jun 24 '19 04:06 lattner

Yes, just as lattner said, this option is an hidden option from the code. https://github.com/tensorflow/mlir/blob/43aa628b747f253228b3628ecbcc3d0df03fb2af/lib/IR/AsmPrinter.cpp#L79

Johnson9009 avatar Jun 24 '19 09:06 Johnson9009

Thanks. Could we unhide it? It's at least more useful for developers than many of the options currently exposed are.

bondhugula avatar Jun 25 '19 16:06 bondhugula