Translation.h is currently awkwardly shoved into the top-level mlir, even though it is
specific to the mlir-translate tool. This commit moves it to a new Tools/mlir-translate
directory, which is intended for libraries used to implement tools. It also splits the
translate registry from the main entry point, to more closely mirror what mlir-opt
does.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I am not convinced that the whole registration for translation isn't just part of the tool either: what other uses exist for this really?
Comment Actions
Aha! You had the same thoughts I did. I originally wrote this commit to just move everything to the mlir-translate/ directory, but wasn't sure others thought differently (given that we had the weird Translation/ lib folder). Will update to do that instead.