This adds bytecode support for DenseArrayAttr, DenseIntOrFpElementsAttr,
DenseStringElementsAttr, and SparseElementsAttr.
Depends on D133743
Paths
| Differential D133744
[mlir] Add bytecode encodings for the builtin ElementsAttr attributes ClosedPublic Authored by rriddle on Sep 12 2022, 7:22 PM.
Details Summary This adds bytecode support for DenseArrayAttr, DenseIntOrFpElementsAttr, Depends on D133743
Diff Detail
Event TimelineComment Actions Nice!
This revision is now accepted and ready to land.Sep 12 2022, 9:05 PM Closed by commit rG5fb1bbe6d49e: [mlir] Add bytecode encodings for the builtin ElementsAttr attributes (authored by rriddle). · Explain WhySep 13 2022, 11:39 AM This revision was automatically updated to reflect the committed changes. rriddle marked an inline comment as done.
Revision Contents
Diff 459828 mlir/include/mlir/Bytecode/BytecodeImplementation.h
mlir/lib/Bytecode/Reader/BytecodeReader.cpp
mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
mlir/lib/Bytecode/Writer/IRNumbering.cpp
mlir/lib/IR/BuiltinDialectBytecode.cpp
mlir/test/Dialect/Builtin/Bytecode/attrs.mlir
|
Same lifetime requirements as String above?