[mlir][vector] Add missing support for contract of integer lowering.
authorThomas Raoux <thomasraoux@google.com>
Wed, 10 Feb 2021 23:57:02 +0000 (15:57 -0800)
committerThomas Raoux <thomasraoux@google.com>
Tue, 16 Feb 2021 15:13:30 +0000 (07:13 -0800)
commit397336dcab81dd0bb95e50e95c737c3e77ee7985
treeb128c19112ba0bc387ac2cc89c158f000aa7046e
parent807e5467f3e1b115f53377ea36ecad5625ce8280
[mlir][vector] Add missing support for contract of integer lowering.

Some of the lowering of vector.contract didn't support integer case. Since
reduction of integer cannot accumulate we always break up the reduction op, it
should be merged by a separate canonicalization if possible.

Differential Revision: https://reviews.llvm.org/D96461
mlir/lib/Dialect/Vector/VectorTransforms.cpp
mlir/test/Dialect/Vector/vector-contract-transforms.mlir