[all-commits] [llvm/llvm-project] 2f9076: [mlir:Bytecode] Add encoding support for a majorit...

River Riddle via All-commits all-commits at lists.llvm.org
Fri Aug 26 13:33:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f90764ce887ee5647d7ee41f4dca064e874aed1
      https://github.com/llvm/llvm-project/commit/2f90764ce887ee5647d7ee41f4dca064e874aed1
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M mlir/docs/BytecodeFormat.md
    M mlir/include/mlir/Bytecode/BytecodeImplementation.h
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
    M mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
    M mlir/lib/Bytecode/Writer/IRNumbering.cpp
    M mlir/lib/IR/BuiltinDialectBytecode.cpp
    M mlir/test/Dialect/Builtin/Bytecode/attrs.mlir

  Log Message:
  -----------
  [mlir:Bytecode] Add encoding support for a majority of the builtin attributes

This adds support for the non-location, non-elements, non-affine
builtin attributes.

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


  Commit: 772994f1e088f71927844a2ca0f7bc60e33d7900
      https://github.com/llvm/llvm-project/commit/772994f1e088f71927844a2ca0f7bc60e33d7900
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M mlir/lib/IR/BuiltinDialectBytecode.cpp
    M mlir/test/Dialect/Builtin/Bytecode/attrs.mlir

  Log Message:
  -----------
  [mlir:Bytecode] Add encoding support for builtin location attributes

This provides a significantly more efficient encoding for locations.

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


  Commit: 89c975a66fd2b153779bd9e6e37dab8df6f3e294
      https://github.com/llvm/llvm-project/commit/89c975a66fd2b153779bd9e6e37dab8df6f3e294
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M mlir/lib/IR/BuiltinDialectBytecode.cpp

  Log Message:
  -----------
  [mlir][NFC] Cleanup builtin dialect bytecode encoding

Group the readers and writers for individual attributes/types together,
which makes the encoding more readable.

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


  Commit: 857440590baf22aa4d3767b39d2d2c246d230922
      https://github.com/llvm/llvm-project/commit/857440590baf22aa4d3767b39d2d2c246d230922
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Bytecode/BytecodeImplementation.h
    M mlir/lib/IR/BuiltinDialectBytecode.cpp
    M mlir/test/Dialect/Builtin/Bytecode/types.mlir

  Log Message:
  -----------
  [mlir] Add bytecode encoding for the remaining builtin types

After this commit we will have an efficient bytecode representation for all
of the builtin types.

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


Compare: https://github.com/llvm/llvm-project/compare/937aaead87f0...857440590baf


More information about the All-commits mailing list