This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Support unranked types in func signature conversion in BufferPlacement.
ClosedPublic

Authored by pifon2a on Jul 7 2020, 10:02 AM.

Details

Summary

Currently, only ranked tensor args and results can be converted to memref types.

Diff Detail

Event Timeline

pifon2a created this revision.Jul 7 2020, 10:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2020, 10:02 AM

Nice!

mlir/lib/Transforms/BufferPlacement.cpp
718

Would isa<BaseMemRefType> work?

pifon2a marked 2 inline comments as done.Jul 7 2020, 10:36 AM
pifon2a added inline comments.
mlir/lib/Transforms/BufferPlacement.cpp
718

yep, it does. Thanks!

pifon2a updated this revision to Diff 276134.Jul 7 2020, 10:37 AM
pifon2a marked an inline comment as done.

Addressed the comment

herhut accepted this revision.Jul 7 2020, 10:40 AM
This revision is now accepted and ready to land.Jul 7 2020, 10:40 AM
This revision was automatically updated to reflect the committed changes.