This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Add accumulator operand to MultiDimReduce op
ClosedPublic

Authored by ThomasRaoux on Jul 11 2022, 7:34 PM.

Details

Summary

This allows vectorizing linalg reductions without changing the operation
order. Therefore this produce a valid vectorization even if operations
are not associative.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Jul 11 2022, 7:34 PM
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux requested review of this revision.Jul 11 2022, 7:34 PM
mravishankar accepted this revision.Jul 11 2022, 8:13 PM

Nice! Thank you for the fix!

This revision is now accepted and ready to land.Jul 11 2022, 8:13 PM