This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv][vector] Add pattern to convert reduction to SPIR-V dot prod
ClosedPublic

Authored by kuhar on Mar 9 2023, 7:39 PM.

Details

Summary

This converts a specific form of vector.reduction to SPIR-V integer
dot product ops.

Add a new test pass to excercise this outside of the main vector to
spirv conversion pass.

Diff Detail

Event Timeline

kuhar created this revision.Mar 9 2023, 7:39 PM
Herald added a project: Restricted Project. · View Herald Transcript
kuhar requested review of this revision.Mar 9 2023, 7:39 PM
kuhar updated this revision to Diff 504013.Mar 9 2023, 7:40 PM

Fix bazel

antiagainst accepted this revision.Mar 10 2023, 10:42 AM

Awesome!

This revision is now accepted and ready to land.Mar 10 2023, 10:42 AM