This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Add unrolling pattern for multidim_reduce op
ClosedPublic

Authored by ThomasRaoux on Mar 8 2022, 4:10 PM.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Mar 8 2022, 4:10 PM
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux requested review of this revision.Mar 8 2022, 4:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 4:10 PM
springerm accepted this revision.Mar 14 2022, 1:51 AM
springerm added inline comments.
mlir/lib/Dialect/Vector/Transforms/VectorUnrollDistribute.cpp
332

nit: I'd spell out the type here.

339

Why is this needed?

366

typo

367

keeps

This revision is now accepted and ready to land.Mar 14 2022, 1:51 AM
springerm added inline comments.Mar 14 2022, 3:49 AM
mlir/lib/Dialect/Vector/Transforms/VectorUnrollDistribute.cpp
344

printf

Address review comments and rebase

ThomasRaoux marked 4 inline comments as done.Mar 14 2022, 7:41 AM
ThomasRaoux added inline comments.
mlir/lib/Dialect/Vector/Transforms/VectorUnrollDistribute.cpp
339

It is because there is no default DenseMapInfo for SmallVector type, so I need to give OffsetMapInfo. Let me know if you see a better data structure.

This revision was landed with ongoing or failed builds.Mar 14 2022, 8:22 AM
This revision was automatically updated to reflect the committed changes.