We cannot directly use the original result type; instead we need
to deduce it from the converted operand type. This addresses
invalid ops generated from converting single element vectors.
Depends on D127573
Paths
| Differential D127574
[mlir][spirv] Fix result type for arith.cmpi/cmpf conversion ClosedPublic Authored by antiagainst on Jun 11 2022, 8:49 AM.
Details Summary We cannot directly use the original result type; instead we need Depends on D127573
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 13 2022, 9:52 AM This revision was landed with ongoing or failed builds.Jun 13 2022, 10:16 AM Closed by commit rGb5192cbe506c: [mlir][spirv] Fix result type for arith.cmpi/cmpf conversion (authored by antiagainst). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 436462 mlir/lib/Conversion/ArithmeticToSPIRV/ArithmeticToSPIRV.cpp
mlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir
|