This is an archive of the discontinued LLVM Phabricator instance.

[mlir][memref] annotate operand and result of realloc with proper memory attributes
ClosedPublic

Authored by aartbik on Feb 8 2023, 11:53 AM.

Diff Detail

Event Timeline

aartbik created this revision.Feb 8 2023, 11:53 AM
aartbik requested review of this revision.Feb 8 2023, 11:53 AM
springerm accepted this revision.Feb 9 2023, 1:17 AM
springerm added inline comments.
mlir/test/Dialect/Bufferization/Transforms/realloc.mlir
1 ↗(On Diff #495908)

You can put the test case in this file: Dialect/Bufferization/Transforms/buffer-deallocation.mlir

This revision is now accepted and ready to land.Feb 9 2023, 1:17 AM
aartbik marked an inline comment as done.Feb 9 2023, 10:44 AM
aartbik added inline comments.
mlir/test/Dialect/Bufferization/Transforms/realloc.mlir
1 ↗(On Diff #495908)

Ah, that makes sense yes. Done.

aartbik updated this revision to Diff 496190.Feb 9 2023, 11:12 AM
aartbik marked an inline comment as done.

merged test files