Skip to content
Commit 1c12a95d authored by MaheshRavishankar's avatar MaheshRavishankar
Browse files

[mlir][StandardToSPIRV] Handle conversion of cmpi operation with i1

type operands.

The instructions used to convert std.cmpi cannot have i1 types
according to SPIR-V specification. A different set of operations are
specified in the SPIR-V spec for comparing boolean types. Enhance the
StandardToSPIRV lowering to target these instructions when operands to
std.cmpi operation are of i1 type.

Differential Revision: https://reviews.llvm.org/D79049
parent dcdb1b94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment