[Mlir-commits] [mlir] [mlirbc] Add AffineMap serialization support (PR #191970)
Matthias Springer
llvmlistbot at llvm.org
Wed Jun 3 03:52:23 PDT 2026
================
@@ -88,6 +90,302 @@ static void writePotentiallySplatString(DialectBytecodeWriter &writer,
writer.writeOwnedString(str);
}
+//===----------------------------------------------------------------------===//
+// AffineExpr / AffineMap bytecode helpers
+//===----------------------------------------------------------------------===//
+
+// AffineExpr kind encoding:
+// Extra kinds may be appended here but the existing ones and their ordering
+// should not be changed.
+enum class AffineExprBytecodeKind : uint64_t {
----------------
matthias-springer wrote:
Is there a reason why these are ordered different from `AffineExprKind`?
https://github.com/llvm/llvm-project/pull/191970
More information about the Mlir-commits
mailing list