This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Add default Vulkan memory space to storage class mapping
ClosedPublic

Authored by antiagainst on Aug 3 2022, 4:53 PM.

Diff Detail

Event Timeline

antiagainst created this revision.Aug 3 2022, 4:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 4:53 PM
antiagainst requested review of this revision.Aug 3 2022, 4:53 PM
antiagainst retitled this revision from [mlir][spirv] Add default Vulkan memory space to storage class mapping Depends on D130317 to [mlir][spirv] Add default Vulkan memory space to storage class mapping.
kuhar accepted this revision.Aug 4 2022, 10:39 AM

LGTM provided that the base patch gets accepted in the current form

mlir/include/mlir/Conversion/Passes.td
547

nit: 'to use to populate storage class mappings' or `to use for populating mappings'?

This revision is now accepted and ready to land.Aug 4 2022, 10:39 AM
ThomasRaoux accepted this revision.Aug 4 2022, 10:43 AM
ThomasRaoux added inline comments.Aug 4 2022, 10:45 AM
mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp
41
antiagainst marked 2 inline comments as done.Aug 5 2022, 9:25 AM
antiagainst added inline comments.
mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp
41

Yup that one will be removed in the next patch, which will integrate and enforce this pass.

This revision was landed with ongoing or failed builds.Aug 5 2022, 9:34 AM
This revision was automatically updated to reflect the committed changes.
antiagainst marked an inline comment as done.