These functions now accept unsigned values for memory spaces instead of Attributes.
Depends On D128274
Paths
| Differential D128275
[mlir][bufferization][NFC] Change signature of getMemRefType ClosedPublic Authored by springerm on Jun 21 2022, 7:00 AM.
Details Summary These functions now accept unsigned values for memory spaces instead of Attributes. Depends On D128274
Diff Detail
Event Timelinespringerm added a child revision: D128277: [mlir][bufferization][NFC] Add error handling to getBuffer.Jun 21 2022, 7:01 AM
springerm added a child revision: D128420: [mlir][bufferization][NFC] Bufferize with PostOrder traversal.Jun 23 2022, 3:33 AM springerm removed a child revision: D128277: [mlir][bufferization][NFC] Add error handling to getBuffer.Jun 23 2022, 3:36 AM
Comment Actions We want to go away from affine map to specify layout (see in particular https://discourse.llvm.org/t/rfc-remove-bare-pointer-calling-convention/63419 ) and a bunch of other relates posts. This revision is now accepted and ready to land.Jun 27 2022, 12:57 AM This revision was landed with ongoing or failed builds.Jun 27 2022, 1:41 AM Closed by commit rGb06614e2e8d7: [mlir][bufferization][NFC] Change signature of getMemRefType (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 440127 mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
|
so, !hasValue() and {} are still distinct situation here I guess?