This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferization][NFC] Remove layout post processing step
ClosedPublic

Authored by springerm on Mar 22 2022, 6:54 AM.

Details

Summary

The layout postprocessing step was removed and is now part of the FuncOp bufferization. If the user specified a certain layout map for a tensor function arg, use that layout map directly when bufferizing the function signature. Previously, the bufferization used a generic layout map for every tensor function arg and then updated function signatures and CallOps in a separate step.

Depends On D123214

Diff Detail

Event Timeline

springerm created this revision.Mar 22 2022, 6:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2022, 6:54 AM
springerm requested review of this revision.Mar 22 2022, 6:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2022, 6:54 AM
springerm retitled this revision from mlir][bufferization] Clean up ModuleBufferization to [mlir][bufferization][NFC] Remove layout post processing step.Apr 6 2022, 5:56 AM
springerm edited the summary of this revision. (Show Details)
springerm edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Apr 12 2022, 12:42 AM
This revision was landed with ongoing or failed builds.Apr 22 2022, 3:15 AM
This revision was automatically updated to reflect the committed changes.