Enable (de)serialization support for spirv::AccessChainOp
authorMahesh Ravishankar <ravishankarm@google.com>
Mon, 29 Jul 2019 17:45:17 +0000 (10:45 -0700)
committerjpienaar <jpienaar@google.com>
Tue, 30 Jul 2019 13:17:19 +0000 (06:17 -0700)
commit673bb7cbbecc0250067d174bfa636617a040c12e
treef57f4da164445413b871ca1e23f29e09e57d3f3b
parentd5a02fcd9642007b98f7c80cc4a0bb204a78805d
Enable (de)serialization support for spirv::AccessChainOp

Automatic generation of spirv::AccessChainOp (de)serialization needs
the (de)serialization emitters to handle argument specified as
Variadic<...>. To handle this correctly, this argument can only be
the last entry in the arguments list.
Add a test to (de)serialize spirv::AccessChainOp

PiperOrigin-RevId: 260532598
mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td
mlir/test/Dialect/SPIRV/Serialization/access_chain.mlir [new file with mode: 0644]
mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp