This is an archive of the discontinued LLVM Phabricator instance.

[mlir] add option to multi-buffering
ClosedPublic

Authored by ThomasRaoux on Feb 16 2023, 3:35 PM.

Details

Summary

Allow user to apply multi-buffering transformation for cases where proving
that there is no loop carried dependency is not trivial. In this case user needs
to ensure that the data are written and read in the same iteration otherwise the
result is incorrect.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Feb 16 2023, 3:35 PM
ThomasRaoux requested review of this revision.Feb 16 2023, 3:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 16 2023, 3:35 PM
This revision is now accepted and ready to land.Feb 16 2023, 10:51 PM
mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td
44

Could we rename this to "skip_analysis" before landing?
This is not an op semantics (verification) concern.

rebase and address review comment

This revision was landed with ongoing or failed builds.Feb 17 2023, 7:35 AM
This revision was automatically updated to reflect the committed changes.
mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
82

typo: that

82

grammo: overridden