This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Refactor standalone-translate to use mlirTranslateMain()
ClosedPublic

Authored by marbre on Sep 4 2020, 1:57 AM.

Details

Summary

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

Diff Detail

Event Timeline

marbre created this revision.Sep 4 2020, 1:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 4 2020, 1:57 AM
marbre requested review of this revision.Sep 4 2020, 1:57 AM
marbre updated this revision to Diff 289900.Sep 4 2020, 1:59 AM

[mlir] Refactor standalone-opt to use main() of helper

marbre retitled this revision from [mlir] Refactor standalone-opt to use main() of helper to [mlir] Refactor standalone-opt to use mlirTranslateMain().Sep 4 2020, 2:01 AM
marbre edited the summary of this revision. (Show Details)
marbre added reviewers: mehdi_amini, Kayjukh.
marbre retitled this revision from [mlir] Refactor standalone-opt to use mlirTranslateMain() to [mlir] Refactor standalone-translate to use mlirTranslateMain().Sep 4 2020, 2:28 AM
marbre edited the summary of this revision. (Show Details)
jpienaar accepted this revision.Sep 4 2020, 5:59 AM

Thanks!

This revision is now accepted and ready to land.Sep 4 2020, 5:59 AM