This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferization] fix typo in example code for bufferization.alloc_tensor
ClosedPublic

Authored by Peiming on Sep 8 2022, 9:40 AM.

Diff Detail

Event Timeline

Peiming created this revision.Sep 8 2022, 9:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2022, 9:40 AM
Peiming requested review of this revision.Sep 8 2022, 9:40 AM
Peiming edited the summary of this revision. (Show Details)Sep 8 2022, 9:42 AM
Peiming added a reviewer: aartbik.
Peiming added a reviewer: springerm.
Peiming added a reviewer: jpienaar.
aartbik accepted this revision.Sep 8 2022, 10:05 AM
aartbik added inline comments.
mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
63

Good catch! Given the roundtrip behavior, I think you can even remove the space, i.e. bufferization.alloc_tensor(%d1, %d2)

This revision is now accepted and ready to land.Sep 8 2022, 10:05 AM
Peiming updated this revision to Diff 458782.Sep 8 2022, 10:07 AM
Peiming marked an inline comment as done.

Address comments from Aart

This revision was landed with ongoing or failed builds.Sep 8 2022, 10:07 AM
This revision was automatically updated to reflect the committed changes.