[mlir-opt] Fix dialect preload after fb1bb6a
authorGoran Flegar <gflegar@google.com>
Mon, 6 Mar 2023 18:11:03 +0000 (19:11 +0100)
committerGoran Flegar <gflegar@google.com>
Mon, 6 Mar 2023 18:30:14 +0000 (19:30 +0100)
commitf2cdccc034d0696f186f55d6826dd6ac40e4d3d5
tree353ad05706efaf9a0ba9afd2d36a67d400aea99b
parente0cd60f1d5d4c73f393f842b92882ffaedd1d0be
[mlir-opt] Fix dialect preload after fb1bb6a

Also pipe empty string to the commandline test to make sure it does
not hang on some configurations.
mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
mlir/test/mlir-opt/commandline.mlir