[mlir][spirv] Support more comparisons on boolean values
authorLei Zhang <antiagainst@google.com>
Tue, 28 Jun 2022 15:58:42 +0000 (11:58 -0400)
committerLei Zhang <antiagainst@google.com>
Tue, 28 Jun 2022 15:58:42 +0000 (11:58 -0400)
commite1e0ecb96e0aa3b3846484f82e4c0e8c31c50341
treec2daafd8837824ae6437ac4e644fe41677e8d28b
parente9fa18637d6f9d1d40ff1cb48f802d6da23b3b8e
[mlir][spirv] Support more comparisons on boolean values

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D128692
mlir/lib/Conversion/ArithmeticToSPIRV/ArithmeticToSPIRV.cpp
mlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir