This patch moves the memory space field from MemRefType and UnrankedMemRefType
to their base class BaseMemRefType so that it can be retrieved from it without
downcasting it to the specific memref.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good, overall. One question below.
mlir/lib/IR/TypeDetail.h | ||
---|---|---|
214–216 | Do we need this? What happens if this is removed? |
Comment Actions
Thanks!
mlir/lib/IR/TypeDetail.h | ||
---|---|---|
214–216 | I'll try. According to the doc, it shouldn't be needed for basic types. |
Do we need this? What happens if this is removed?