[all-commits] [llvm/llvm-project] d77462: [mlir][lsp] Register all extensions and TestDynDia...

Ingo Müller via All-commits all-commits at lists.llvm.org
Thu Aug 31 00:54:51 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7746220b10c7617cf2f53170af29e5c648c37db
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M mlir/tools/mlir-lsp-server/CMakeLists.txt
    M mlir/tools/mlir-lsp-server/mlir-lsp-server.cpp

  Log Message:
  [mlir][lsp] Register all extensions and TestDynDialect in main.

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-opt`s main function also registers.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D159091

More information about the All-commits mailing list