This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferization] Use rewriter to erase ops in scf.forall bufferization.
ClosedPublic

Authored by ThomasRaoux on Mar 28 2023, 4:44 PM.

Details

Summary

Without this bufferization cannot track operations removed during bufferization.
Unfortunately there is currently no way to enforce that ops need to be erased through
the rewriter and this causes sporadic errors when tracking pointers in Bufferization pass.
Therefore there is no easy way to test that the pattern is doing the right thing.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Mar 28 2023, 4:44 PM
ThomasRaoux requested review of this revision.Mar 28 2023, 4:44 PM
ThomasRaoux edited the summary of this revision. (Show Details)Mar 28 2023, 4:50 PM
mravishankar accepted this revision.Mar 28 2023, 4:50 PM
This revision is now accepted and ready to land.Mar 28 2023, 4:50 PM
This revision was landed with ongoing or failed builds.Mar 28 2023, 5:09 PM
This revision was automatically updated to reflect the committed changes.