This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][bufferize] Allow returning arbitrary memrefs
ClosedPublic

Authored by springerm on Nov 23 2021, 11:55 PM.

Details

Summary

If allowReturnMemref is set to true, arbitrary memrefs may be returned from FuncOps. Also remove allocation hoisting code, which is only partly implemented at the moment.

The purpose of this commit is to untangle bufferize from aliasInfo. (Even with this change, they are not fully untangled yet.)

Depends On D114226

Diff Detail

Event Timeline

springerm created this revision.Nov 23 2021, 11:55 PM
springerm requested review of this revision.Nov 23 2021, 11:55 PM
springerm retitled this revision from [mlir][linalg][bufferize][NFC] Allow returning arbitrary memrefs to [mlir][linalg][bufferize] Allow returning arbitrary memrefs.Nov 23 2021, 11:56 PM

Thanks for the cleanup!

This revision is now accepted and ready to land.Nov 24 2021, 12:30 AM
This revision was landed with ongoing or failed builds.Nov 25 2021, 6:32 PM
This revision was automatically updated to reflect the committed changes.