This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Fix sub-word `memref.store` conversion
ClosedPublic

Authored by kuhar on Sep 1 2023, 3:41 PM.

Details

Summary

Support environments where logical types do not necessarily correspond to allowed storage access types.

Also make pattern match failures more descriptive.

Diff Detail

Event Timeline

kuhar created this revision.Sep 1 2023, 3:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2023, 3:41 PM
kuhar requested review of this revision.Sep 1 2023, 3:41 PM
kuhar edited the summary of this revision. (Show Details)Sep 1 2023, 3:41 PM
kuhar added inline comments.Sep 1 2023, 3:48 PM
mlir/test/Conversion/MemRefToSPIRV/bitwidth-emulation.mlir
353–354

FYI, we are missing a canon pattern to elide this and. We can fix that separately.

kuhar edited the summary of this revision. (Show Details)Sep 1 2023, 3:52 PM
antiagainst accepted this revision.Sep 5 2023, 8:02 AM
This revision is now accepted and ready to land.Sep 5 2023, 8:02 AM
This revision was automatically updated to reflect the committed changes.