[mlir:Bytecode] Add encoding support for a majority of the builtin attributes
authorRiver Riddle <riddleriver@gmail.com>
Wed, 24 Aug 2022 06:39:18 +0000 (23:39 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Fri, 26 Aug 2022 20:31:05 +0000 (13:31 -0700)
commit2f90764ce887ee5647d7ee41f4dca064e874aed1
tree9b3d687b57b81f2fc965063c4e715e3efa5954cd
parent937aaead87f055caa4d91d7ba637d442a94a24a6
[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
mlir/docs/BytecodeFormat.md
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