[all-commits] [llvm/llvm-project] 7ad9e9: [mlir][bytecode] Implements back deployment capabi...

Matteo Franciolini via All-commits all-commits at lists.llvm.org
Tue Oct 31 15:41:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ad9e9dcf518431a8ecedcc06b09df6c799658ef
      https://github.com/llvm/llvm-project/commit/7ad9e9dcf518431a8ecedcc06b09df6c799658ef
  Author: Matteo Franciolini <m_franciolini at apple.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Bytecode/BytecodeImplementation.h
    M mlir/include/mlir/Bytecode/BytecodeWriter.h
    M mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
    M mlir/lib/Bytecode/Writer/IRNumbering.cpp
    M mlir/test/Bytecode/bytecode_callback.mlir
    M mlir/test/Bytecode/bytecode_callback_full_override.mlir
    M mlir/test/Bytecode/bytecode_callback_with_custom_attribute.mlir
    M mlir/test/Bytecode/bytecode_callback_with_custom_type.mlir
    A mlir/test/Bytecode/bytecode_downgrade.mlir
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestDialectInterfaces.cpp
    M mlir/test/lib/IR/CMakeLists.txt
    R mlir/test/lib/IR/TestBytecodeCallbacks.cpp
    A mlir/test/lib/IR/TestBytecodeRoundtrip.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][bytecode] Implements back deployment capability for MLIR dialects (#70724)

When emitting bytecode, clients can specify a target dialect version to
emit in `BytecodeWriterConfig`. This exposes a target dialect version to
the DialectBytecodeWriter, which can be queried by name and used to
back-deploy attributes, types, and properties.




More information about the All-commits mailing list