This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Extend vector unroll to all element-wise ops
ClosedPublic

Authored by ThomasRaoux on Dec 11 2020, 7:19 AM.

Details

Summary

Extend unroll to support all element-wise ops and allow unrolling for ops with vector operands of with the same shape as the destination but different element type (like Cmp or Select)

Diff Detail

Event Timeline

ThomasRaoux created this revision.Dec 11 2020, 7:19 AM
ThomasRaoux requested review of this revision.Dec 11 2020, 7:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 11 2020, 7:19 AM

ping, if anybody is around :)

aartbik accepted this revision.Dec 21 2020, 11:04 AM
aartbik added inline comments.
mlir/test/Dialect/Vector/vector-transforms.mlir
2

why is this removed?

This revision is now accepted and ready to land.Dec 21 2020, 11:04 AM

Thanks, Aart.

mlir/test/Dialect/Vector/vector-transforms.mlir
2

This is applying the same transformations as test-vector-to-vector-conversion so this is to avoid having to maintain both test passes. test-vector-to-vector-conversion has extra options that are used in vector-unroll-options.mlir.

This revision was landed with ongoing or failed builds.Dec 21 2020, 1:32 PM
This revision was automatically updated to reflect the committed changes.