This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Remove alloc/dealloc pair as a callback.
ClosedPublic

Authored by mravishankar on Nov 22 2021, 11:17 PM.

Details

Summary

The alloc dealloc pair generation callback is really central to the
bufferization algorithm, it modifies the state in a way that affects
correctness. This is not really a configurable option. Moving it to
BufferizationState removes what was probably the reason it was added
as a callback.

Diff Detail

Event Timeline

mravishankar created this revision.Nov 22 2021, 11:17 PM
mravishankar requested review of this revision.Nov 22 2021, 11:17 PM

Fix build errors.

springerm accepted this revision.Nov 23 2021, 9:01 PM
This revision is now accepted and ready to land.Nov 23 2021, 9:01 PM