With this change, more memref.copy will be lowered to the efficient memcpy. For example,
memref.copy %subview, %alloc : memref<1x576xf32, strided<[704, 1]>> to memref<1x576xf32>
Paths
| Differential D150448
[mlir][memref] Lower copy of memrefs with outer size-1 dims to intrinsic memcpy. ClosedPublic Authored by olegshyshkov on May 12 2023, 7:21 AM.
Details Summary With this change, more memref.copy will be lowered to the efficient memcpy. For example, memref.copy %subview, %alloc : memref<1x576xf32, strided<[704, 1]>> to memref<1x576xf32>
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 12 2023, 7:26 AM olegshyshkov added inline comments.
This revision was landed with ongoing or failed builds.May 12 2023, 8:18 AM Closed by commit rGcad08503b8d5: [mlir][memref] Lower copy of memrefs with outer size-1 dims to intrinsic memcpy. (authored by olegshyshkov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 521656 mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
|
dimensions