Add spv.Undef op to support OpUndef instruction in SPIR-V.
authorMahesh Ravishankar <ravishankarm@google.com>
Fri, 4 Oct 2019 22:59:54 +0000 (15:59 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Fri, 4 Oct 2019 23:00:22 +0000 (16:00 -0700)
commit3f8bde40cb267f1f6b168ea7bbdd918dfda650a4
tree921c201af32fc1d9e3a30fff9533cbff0684176a
parent77a809d7a12bf83096a670dc3c611d9c1f95eb0d
Add spv.Undef op to support OpUndef instruction in SPIR-V.

Adding support for OpUndef instruction. Updating the dialect
generation script to fix a few bugs in the instruction spec
generation.

PiperOrigin-RevId: 272975685
mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td
mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/Serialization/undef.mlir [new file with mode: 0644]
mlir/test/Dialect/SPIRV/ops.mlir
mlir/utils/spirv/gen_spirv_dialect.py