This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][bufferize][NFC] InsertSliceOp no-copy detection as PostAnalysis

Authored by springerm on Nov 24 2021, 12:29 AM.



There is special logic for InsertSliceOp to check if a memcpy is needed. This change extracts that piece of code and makes it a PostAnalysisStep.

The purpose of this change is to untangle bufferize from BufferizationAliasInfo. (Not fully there yet.)

Depends On D114512

Diff Detail

Event Timeline

springerm created this revision.Nov 24 2021, 12:29 AM
springerm requested review of this revision.Nov 24 2021, 12:29 AM
This revision is now accepted and ready to land.Nov 24 2021, 12:33 AM
This revision was landed with ongoing or failed builds.Nov 26 2021, 5:19 AM
This revision was automatically updated to reflect the committed changes.