We need to use the converted index type for index offset calculation
logic; not the target bitwidth, which is typically 32-bit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D158482
[mlir][spirv] Fix 64-bit index for MemRef bitwidth emulation ClosedPublic Authored by antiagainst on Aug 21 2023, 8:39 PM.
Details Summary We need to use the converted index type for index offset calculation
Diff Detail
Event Timelineantiagainst added a parent revision: D158481: [mlir][spirv] NFC: split bitwidth emulation tests out.Aug 21 2023, 8:39 PM This revision is now accepted and ready to land.Aug 22 2023, 8:18 AM This revision was landed with ongoing or failed builds.Aug 22 2023, 8:33 AM Closed by commit rG4ffc63ab71e5: [mlir][spirv] Fix 64-bit index for MemRef bitwidth emulation (authored by antiagainst). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 552198 mlir/include/mlir/Conversion/Passes.td
mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.cpp
mlir/test/Conversion/MemRefToSPIRV/bitwidth-emulation.mlir
|