[MLIR] Affine lowering support for Comparison Ops (#3872)
* Affine lowering support for 1) GreaterEq 2) LessEq 3) Equal 4) NotEqual * - cast result op from i1 to i8 for comparision operators * Addressed PR comments * Style fix * - style check - use select instead of zero_extendi durinng CompOp lowering * - fix style - use createOneConstant and createZeroConstant helpers in select intrinsic * Use NG_U8_TYPE_ID for BooleanType in ngraph dialect * Diable CE and Softmax unit test in MLIR * - LIT parser test for comparision ops * - Affine dailect LIT tests for Comparision Ops * Address PR feedback * fix typo * - use `cast` to deduce element Type - add more strict type checking to LIT Test * fix CHECK label's for comparision ops * Use UInt8 in verification logic for CMP op's * - use UInt8 for the resultOp verification Logic in CMP op - fix unit test failures
Showing
Please
register
or
sign in
to comment