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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp | ||
---|---|---|
169–170 | nit: can you spell out the exact type? It's not obvious to me just by looking at the RHS. |
nit: can you spell out the exact type? It's not obvious to me just by looking at the RHS.