[mlir][quant] Initial bytecode encoding for quantized types
authorJacques Pienaar <jpienaar@google.com>
Mon, 17 Oct 2022 23:28:46 +0000 (16:28 -0700)
committerJacques Pienaar <jpienaar@google.com>
Mon, 17 Oct 2022 23:28:46 +0000 (16:28 -0700)
commit7732c97f52e72a0737aaafd19d1f3be9f26d1a20
tree4ba663195fd84e2943389f700f2355d243962ff8
parentdc8035bdddf47b5e1ee91e0147b0e3a404b74261
[mlir][quant] Initial bytecode encoding for quantized types

Add bytecode encoding for quantized types. These mostly follow the
storage representation of these.

Differential Revision: https://reviews.llvm.org/D136004
mlir/lib/Dialect/Quant/IR/CMakeLists.txt
mlir/lib/Dialect/Quant/IR/QuantDialectBytecode.cpp [new file with mode: 0644]
mlir/lib/Dialect/Quant/IR/QuantDialectBytecode.h [new file with mode: 0644]
mlir/lib/Dialect/Quant/IR/QuantOps.cpp
mlir/test/Dialect/Quant/Bytecode/types.mlir [new file with mode: 0644]
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel