This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Vector] Add support for scalable vectors in multi_reduction
ClosedPublic

Authored by awarzynski on Aug 4 2023, 6:34 AM.

Details

Summary

Support for scalable vectors in vector.multi_reduction is added by
simply updating MultiDimReductionOp::verify.

Also, the conversion pattern for reducing n-D vector.multi_reduction to
2D vector.multi_reduction is updated.

Diff Detail

Event Timeline

awarzynski created this revision.Aug 4 2023, 6:34 AM
Herald added a project: Restricted Project. · View Herald Transcript
awarzynski requested review of this revision.Aug 4 2023, 6:34 AM
dcaballe accepted this revision.Aug 7 2023, 10:32 AM

Thanks!

mlir/lib/Dialect/Vector/Transforms/LowerVectorMultiReduction.cpp
180

use? move to line 229?

This revision is now accepted and ready to land.Aug 7 2023, 10:32 AM