[mlir][StandardToSPIRV] Extend support for lowering cmpi to SPIRV.
authorHanhan Wang <hanchung@google.com>
Mon, 16 Nov 2020 14:50:45 +0000 (06:50 -0800)
committerHanhan Wang <hanchung@google.com>
Mon, 16 Nov 2020 14:51:05 +0000 (06:51 -0800)
commit47fd19f22eb5e6a7e711ca44f0414e2de7614f4b
tree43979012c5c39b4e4fa903a2603bfdb3cabdf539
parent02bdbdc76021fcfb8cae465363b362cb889406d2
[mlir][StandardToSPIRV] Extend support for lowering cmpi to SPIRV.

The logic of vector on boolean was missed. This patch adds the logic and test on
it.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D91403
mlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir