[all-commits] [llvm/llvm-project] 3128b3: Add support for Lazyloading to the MLIR bytecode

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sat May 20 15:25:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3128b3105d7a226fc26174be265da479ff619f3e
      https://github.com/llvm/llvm-project/commit/3128b3105d7a226fc26174be265da479ff619f3e
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-05-20 (Sat, 20 May 2023)

  Changed paths:
    M mlir/docs/BytecodeFormat.md
    M mlir/include/mlir/Bytecode/BytecodeReader.h
    M mlir/lib/Bytecode/Encoding.h
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
    M mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
    A mlir/test/Bytecode/bytecode-lazy-loading.mlir
    M mlir/test/Bytecode/invalid/invalid-structure.mlir
    M mlir/test/lib/IR/CMakeLists.txt
    A mlir/test/lib/IR/TestLazyLoading.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  Add support for Lazyloading to the MLIR bytecode

IsolatedRegions are emitted in sections in order for the reader to be
able to skip over them. A new class is exposed to manage the state and
allow the readers to load these IsolatedRegions on-demand.

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




More information about the All-commits mailing list