[MLIR] add show-dialects option for mlir-opt
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Tue, 18 Feb 2020 22:56:45 +0000 (14:56 -0800)
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Thu, 27 Feb 2020 18:43:39 +0000 (10:43 -0800)
commit01b209679f69cc42e96f05a3c37ba06480094819
tree6dd74ae74b2258ab58cae1dcb41e862a7f0db9bc
parentb26c88e3c6e08f8f78ab4291bc85b5685241f493
[MLIR] add show-dialects option for mlir-opt

Display the list of dialects known to mlir-opt.  This is useful
for ensuring that linkage has happened correctly, for instance.

Differential Revision: https://reviews.llvm.org/D74865
mlir/test/mlir-opt/commandline.mlir [new file with mode: 0644]
mlir/tools/mlir-opt/mlir-opt.cpp