[mlir][spirv] Support attribute in MapMemRefStorageClassPass
MemRef memory space actually can be an attribute. Update the map function signature to accept an attribute. The default mappings can still only covers numeric ones, but this allows downstream callers to extend with custom memory spaces. Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D138257
Loading
Please sign in to comment