This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize] Allow non-equivalent yields from scf.for loops
ClosedPublic

Authored by springerm on Mar 12 2022, 10:06 AM.

Details

Summary

This removes a restriction wrt. scf.for loops during One-Shot Bufferization. Such IR was previously rejected. It is still rejected by default because the bufferized IR could be slow. But such IR can now be bufferized with allow-return-allocs.

Depends On D121278

Diff Detail

Event Timeline

springerm created this revision.Mar 12 2022, 10:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 12 2022, 10:06 AM
springerm requested review of this revision.Mar 12 2022, 10:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 12 2022, 10:06 AM
nicolasvasilache accepted this revision.Mar 16 2022, 1:15 AM
This revision is now accepted and ready to land.Mar 16 2022, 1:15 AM
This revision was landed with ongoing or failed builds.Mar 16 2022, 7:23 AM
This revision was automatically updated to reflect the committed changes.