This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize] Simplify ModuleBufferization driver
ClosedPublic

Authored by springerm on Apr 6 2022, 4:59 AM.

Details

Summary
  • Bufferize FuncOp bodies and boundaries in the same loop. This is in preparation of moving FuncOp bufferization into an external model implementation.
  • As a side effect, stop bufferization earlier if there was an error. (Do not continue bufferization, fewer error messages.)
  • Run equivalence analysis of CallOps before the main analysis. This is needed so that equialvence info is propagated properly.

Depends On D123192

Diff Detail

Event Timeline

springerm created this revision.Apr 6 2022, 4:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2022, 4:59 AM
springerm requested review of this revision.Apr 6 2022, 4:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2022, 4:59 AM
nicolasvasilache accepted this revision.Apr 6 2022, 7:44 AM
This revision is now accepted and ready to land.Apr 6 2022, 7:44 AM
This revision was automatically updated to reflect the committed changes.