This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Support minus reduction
Changes PlannedPublic

Authored by guraypp on Sep 5 2022, 4:35 AM.

Details

Summary

This revision binds the minus reduction to add to the reduction. It also adds a test with transform dialect that tests the vectorization of the sub reduction.

Diff Detail

Event Timeline

guraypp created this revision.Sep 5 2022, 4:35 AM
Herald added a project: Restricted Project. · View Herald Transcript
guraypp requested review of this revision.Sep 5 2022, 4:35 AM
springerm added inline comments.Sep 5 2022, 5:18 AM
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
108

typo

mlir/test/Dialect/Linalg/transform-op-vectorize.mlir
171

should this be a subtraction?

guraypp updated this revision to Diff 457951.Sep 5 2022, 5:21 AM

address typos

guraypp planned changes to this revision.Sep 5 2022, 6:13 AM

We found more issues with that revision. It needs more work.