index type is converted to i32 in SPIR-V. This is fine to
support for all signed/unsigned ops.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D124451
[mlir][spirv] Allow converting from index type in unsigned ops ClosedPublic Authored by antiagainst on Apr 26 2022, 6:39 AM.
Details Summary index type is converted to i32 in SPIR-V. This is fine to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 26 2022, 11:02 PM Closed by commit rG38e802a09de6: [mlir][spirv] Allow converting from index type in unsigned ops (authored by antiagainst). · Explain WhyApr 27 2022, 7:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 425514 mlir/lib/Conversion/SPIRVCommon/Pattern.h
mlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir
|