This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Refactor and cleanup the translation facilities.
ClosedPublic

Authored by rriddle on Apr 5 2020, 1:52 PM.

Details

Summary

This revision performs several cleanups on the translation infra:

  • Removes the TranslateCLParser library and consolidates into Translation
    • This was a weird library that existed in Support, and didn't really justify being a standalone library.
  • Cleans up the internal registration and consolidates all of the translation functions within one registry.

Diff Detail

Event Timeline

rriddle created this revision.Apr 5 2020, 1:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2020, 1:52 PM

What happens with TranslateClParser.cpp? It isn't showed as deleted in this revision it seems.

mehdi_amini accepted this revision.Apr 5 2020, 2:16 PM
mehdi_amini added inline comments.
mlir/lib/Translation/Translation.cpp
62

It'd be nice to have an option to disable the verifier when testing.

This revision is now accepted and ready to land.Apr 5 2020, 2:16 PM
rriddle updated this revision to Diff 255201.Apr 5 2020, 2:50 PM

Remove files

This revision was automatically updated to reflect the committed changes.
mlir/lib/Support/CMakeLists.txt