[spirv] Add binary logical operations.
authorDenis Khalikov <dennis.khalikov@gmail.com>
Thu, 1 Aug 2019 20:05:28 +0000 (13:05 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 1 Aug 2019 20:06:02 +0000 (13:06 -0700)
commit08ae08cbee3828041e80510538442808643742b4
treebff5943184ff0f2f514c71f69bb72819507f2a83
parentc72d849eb9b416511c846e5baadb9270075acd2f
[spirv] Add binary logical operations.

Add binary logical operations regarding to the spec section 3.32.15:
OpIEqual, OpINotEqual, OpUGreaterThan, OpSGreaterThan,
OpUGreaterThanEqual, OpSGreaterThanEqual, OpULessThan, OpSLessThan,
OpULessThanEqual, OpSLessThanEqual.

Closes tensorflow/mlir#61

PiperOrigin-RevId: 261181281
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/bin_ops.mlir
mlir/test/Dialect/SPIRV/ops.mlir