Page MenuHomePhabricator

[mlir][linalg][bufferize] Reimplementation of scf.if bufferization
ClosedPublic

Authored by springerm on Dec 9 2021, 10:06 PM.

Details

Summary

Instead of modifying the existing scf.if op, create a new op with memref OpOperands/OpResults and delete the old op.

New allocations / other memrefs can now be yielded from the op. This functionality is deactivated by default and guarded against by AssertDestinationPassingStyle.

Depends On D114926

Diff Detail

Event Timeline

springerm created this revision.Dec 9 2021, 10:06 PM
springerm requested review of this revision.Dec 9 2021, 10:06 PM
This revision is now accepted and ready to land.Dec 15 2021, 12:32 AM
This revision was landed with ongoing or failed builds.Dec 15 2021, 1:41 AM
This revision was automatically updated to reflect the committed changes.