This is an archive of the discontinued LLVM Phabricator instance.

[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
logic; not the target bitwidth, which is typically 32-bit.

Diff Detail

Event Timeline

antiagainst created this revision.Aug 21 2023, 8:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2023, 8:39 PM
antiagainst requested review of this revision.Aug 21 2023, 8:39 PM
kuhar accepted this revision.Aug 22 2023, 8:18 AM
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
This revision was automatically updated to reflect the committed changes.