This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Fix generateCopyForMemRefRegion
ClosedPublic

Authored by bondhugula on Jun 29 2021, 9:52 PM.

Details

Summary

Fix generateCopyForMemRefRegion for a missing check: in some cases, when
the thing to generate copies for itself is empty, no fast buffer/copy
loops would have been allocated/generated. Add an extra assertion there
while at this.

Diff Detail

Event Timeline

bondhugula created this revision.Jun 29 2021, 9:52 PM
bondhugula requested review of this revision.Jun 29 2021, 9:52 PM

Add a comment.

navdeepkk accepted this revision.Jun 29 2021, 10:14 PM
This revision is now accepted and ready to land.Jun 29 2021, 10:14 PM
This revision was landed with ongoing or failed builds.Jun 29 2021, 10:16 PM
This revision was automatically updated to reflect the committed changes.