[all-commits] [llvm/llvm-project] f7b8a7: [mlir:vscode] Add support for viewing and editing ...
River Riddle via All-commits
all-commits at lists.llvm.org
Fri Sep 2 18:16:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7b8a70e7a1738e0fc6574e3cf8faa4fa1f34eba
https://github.com/llvm/llvm-project/commit/f7b8a70e7a1738e0fc6574e3cf8faa4fa1f34eba
Author: River Riddle <riddleriver at gmail.com>
Date: 2022-09-02 (Fri, 02 Sep 2022)
Changed paths:
M mlir/lib/Tools/lsp-server-support/Protocol.cpp
M mlir/lib/Tools/lsp-server-support/Protocol.h
M mlir/lib/Tools/mlir-lsp-server/CMakeLists.txt
M mlir/lib/Tools/mlir-lsp-server/LSPServer.cpp
M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
M mlir/lib/Tools/mlir-lsp-server/MLIRServer.h
M mlir/lib/Tools/mlir-lsp-server/MlirLspServerMain.cpp
A mlir/lib/Tools/mlir-lsp-server/Protocol.cpp
A mlir/lib/Tools/mlir-lsp-server/Protocol.h
M mlir/utils/vscode/package-lock.json
M mlir/utils/vscode/package.json
A mlir/utils/vscode/src/MLIR/bytecodeProvider.ts
A mlir/utils/vscode/src/MLIR/mlir.ts
M mlir/utils/vscode/src/PDLL/commands/viewOutput.ts
M mlir/utils/vscode/src/PDLL/pdll.ts
M mlir/utils/vscode/src/extension.ts
M mlir/utils/vscode/src/mlirContext.ts
Log Message:
-----------
[mlir:vscode] Add support for viewing and editing a bytecode file as .mlir
This commit adds support for interacting with a (valid) bytecode file in the same
way as .mlir. This allows editing, using all of the traditional LSP features, etc. but
still using bytecode as the on-disk serialization format. Loading a bytecode file this
way will fail if the bytecode is invalid, and saving will fail if the edited .mlir is invalid.
Differential Revision: https://reviews.llvm.org/D132970
More information about the All-commits
mailing list