This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferization] Add rename function to BufferViewFlowAnalysis
ClosedPublic

Authored by maerhart on Jul 31 2023, 3:35 AM.

Details

Summary

This new function to replace a Value with another Value saves us from re-running
the entire alias analysis when an operation has to be re-build because
additional result values have to be added (e.g., when adding more iter_args to
an scf.for).

Diff Detail

Event Timeline

maerhart created this revision.Jul 31 2023, 3:35 AM
Herald added a project: Restricted Project. · View Herald Transcript
maerhart requested review of this revision.Jul 31 2023, 3:35 AM
springerm accepted this revision.Aug 2 2023, 1:32 AM
springerm added inline comments.
mlir/include/mlir/Dialect/Bufferization/Transforms/BufferViewFlowAnalysis.h
62

built

This revision is now accepted and ready to land.Aug 2 2023, 1:32 AM
maerhart updated this revision to Diff 546398.Aug 2 2023, 4:00 AM

Address comment

This revision was landed with ongoing or failed builds.Aug 2 2023, 4:02 AM
This revision was automatically updated to reflect the committed changes.