Add Select operation to SPIR-V dialect.
authorMahesh Ravishankar <ravishankarm@google.com>
Tue, 3 Sep 2019 04:06:35 +0000 (21:06 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 3 Sep 2019 04:07:18 +0000 (21:07 -0700)
commit2acd0dbf05aac71dca030ba6a4141e68ca509916
treeb29cf13b4ba613ce526c903a2e4c72d545ac8823
parentc05890e890da37d9671169725c867ed0ca1e0b9d
Add Select operation to SPIR-V dialect.

The SelectOp models the semantics of OpSelect from SPIR-V spec.

PiperOrigin-RevId: 266849559
mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/SPIRVLogicalOps.td
mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/Serialization/select.mlir [new file with mode: 0644]
mlir/test/Dialect/SPIRV/arithmetic-ops.mlir
mlir/test/Dialect/SPIRV/ops.mlir