Maps ZeroExtendIOp and TruncateIOp to spirv::UConvertOp and spirv::SConvertOp.
Depends On D78974
Paths
| Differential D79143
[mlir][StandardToSPIRV] Add support for lowering integer casting. ClosedPublic Authored by hanchung on Apr 29 2020, 4:30 PM.
Details Summary Maps ZeroExtendIOp and TruncateIOp to spirv::UConvertOp and spirv::SConvertOp. Depends On D78974
Diff Detail
Event Timelineantiagainst added inline comments.
This revision now requires changes to proceed.Apr 30 2020, 11:55 AM hanchung marked 2 inline comments as done. Comment ActionsAddress comments.
This revision is now accepted and ready to land.Apr 30 2020, 3:31 PM Closed by commit rGbe0ad5b034b2: [mlir][StandardToSPIRV] Add support for lowering integer casting. (authored by hanchung). · Explain WhyApr 30 2020, 7:33 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 261422 mlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
|
Shouldn't we use UConvert here?