Refactor `mlir-translate` to extract the `main()` logic in a helper on the model...
authorMehdi Amini <joker.eph@gmail.com>
Sun, 23 Aug 2020 00:57:39 +0000 (00:57 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 23 Aug 2020 01:00:31 +0000 (01:00 +0000)
commit96cb8cdeb0f31201c14f87a883cecb7725a87b36
tree155af86d988eb4598e62046f499e82b82a826b09
parent12541b5ed59d00c6a2ac90ccaf7aa8ff37d8d84b
Refactor `mlir-translate` to extract the `main()` logic in a helper on the model of `MlirOptMain()` (NFC)

Differential Revision: https://reviews.llvm.org/D86408
mlir/include/mlir/Translation.h
mlir/lib/Translation/Translation.cpp
mlir/tools/mlir-translate/mlir-translate.cpp