This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][bufferize] Add MemCpyFn to AllocationCallbacks struct
ClosedPublic

Authored by springerm on Nov 1 2021, 12:50 AM.

Details

Summary

This in preparation of decoupling BufferizableOpInterface, Comprehensive Bufferize and dialects.

The goal of this commit is to make getResultBuffer (and other bufferize functions) independent of LinalgOps.

Depends On D112902

Diff Detail

Event Timeline

springerm created this revision.Nov 1 2021, 12:50 AM
springerm requested review of this revision.Nov 1 2021, 12:50 AM

As an alternative to this revision, I could also just use memref::CopyOp to get rid of the Linalg dependency.

springerm updated this revision to Diff 383934.Nov 1 2021, 5:49 PM

no change

nicolasvasilache accepted this revision.Nov 2 2021, 2:00 AM
This revision is now accepted and ready to land.Nov 2 2021, 2:00 AM
This revision was landed with ongoing or failed builds.Nov 4 2021, 6:49 PM
This revision was automatically updated to reflect the committed changes.