[all-commits] [llvm/llvm-project] 49db28: [mlirbc] Add IntegerSetAttr

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Mon Apr 13 23:17:05 PDT 2026


  Branch: refs/heads/users/jpienaar/bcintegersetadd
  Home:   https://github.com/llvm/llvm-project
  Commit: 49db28f962213d6e385e78473ad94431b6200362
      https://github.com/llvm/llvm-project/commit/49db28f962213d6e385e78473ad94431b6200362
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M mlir/include/mlir/Bytecode/BytecodeImplementation.h
    M mlir/include/mlir/IR/BuiltinDialectBytecode.td
    M mlir/include/mlir/IR/BytecodeBase.td
    M mlir/lib/IR/BuiltinDialectBytecode.cpp
    A mlir/test/Dialect/Builtin/Bytecode/builtin_comprehensive.mlir
    M mlir/tools/mlir-tblgen/BytecodeDialectGen.cpp

  Log Message:
  -----------
  [mlirbc] Add IntegerSetAttr

Serialize IntegerSetAttr using VarInt for numDims and numSymbols and arrays for
contraints and eqFlags. Add ArrayWithKnownSize` an Array variant that omits the
length prefix when the size is known from a previously serialized member. This
avoids encoding redundant array lengths when two arrays are always the same
size.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list