[mlir] Refactor standalone-translate to use mlirTranslateMain()
authorMarius Brehler <marius.brehler@iml.fraunhofer.de>
Fri, 4 Sep 2020 08:52:25 +0000 (10:52 +0200)
committerMarius Brehler <marius.brehler@iml.fraunhofer.de>
Fri, 4 Sep 2020 13:26:44 +0000 (15:26 +0200)
commit4f7cdc10a83ce605a86f9d84bf6b11182c886ba3
treea01000ec6cbaef50ab24834b6ca5f4257ae8023f
parentc633842f134171f31ace7e64088045f3a4975a88
[mlir] Refactor standalone-translate to use mlirTranslateMain()

This refactors the standalone-translate executable to use mlirTranslateMain() declared in Translation.h and further applies D87129.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D87131
mlir/examples/standalone/standalone-translate/standalone-translate.cpp