[mlir] Print the correct tool name in mlirTranslateMain
authorAndrew Young <youngar17@gmail.com>
Tue, 5 Jan 2021 21:38:29 +0000 (13:38 -0800)
committerAndrew Young <youngar17@gmail.com>
Wed, 6 Jan 2021 03:17:01 +0000 (19:17 -0800)
commit91f17ba24e86bfdd6e794e564f1e562b1d25e156
tree2a33b3c66c546b4005a53222e758a397b5ab72f6
parent29f8628d1fc8d96670e13562c4d92fc916bd0ce1
[mlir] Print the correct tool name in mlirTranslateMain

    The passed in tool name is not used, causing the wrong tool name to be printed by the help text.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D94120
mlir/lib/Translation/Translation.cpp
mlir/test/mlir-translate/commandline.mlir [new file with mode: 0644]