[all-commits] [llvm/llvm-project] 0206ae: [mlirbc] Add AffineMap serialization support

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


  Branch: refs/heads/users/jpienaar/bcaffinemapadd
  Home:   https://github.com/llvm/llvm-project
  Commit: 0206ae0f4a0c5050aacd6f00ad755055690e843f
      https://github.com/llvm/llvm-project/commit/0206ae0f4a0c5050aacd6f00ad755055690e843f
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2026-04-14 (Tue, 14 Apr 2026)

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

  Log Message:
  -----------
  [mlirbc] Add AffineMap serialization support

Add binary bytecode encoding for AffineMapAttr, replacing the textual fallback.
AffineMap is encoded as numDims, numSymbols, numResults, followed by the result
expressions.  Where each expression, AffineExpr, is encoded as a recursive tree
with a VarInt kind tag followed by kind-specific data.



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