This is an archive of the discontinued LLVM Phabricator instance.

[mlir][lsp] Register all extensions and TestDynDialect in main.
ClosedPublic

Authored by ingomueller-net on Aug 29 2023, 6:45 AM.

Details

Summary

The main function of the LSP server needs to load the dialects and
similar that the server should be able to understand. When extensions
where introduced, the loading of the extensions was apparently not added
to its main functions, so ops from extensions were previously not
recognized by the server. This patch registers all extensions through
the existing convenience function, and also registers the
TestDynDialect, which mlir-opts main function also registers.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptAug 29 2023, 6:45 AM
ingomueller-net requested review of this revision.Aug 29 2023, 6:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 29 2023, 6:45 AM
springerm accepted this revision.Aug 29 2023, 7:23 AM
This revision is now accepted and ready to land.Aug 29 2023, 7:23 AM
  • Rebase to resolve unrelated CI problems.