[mlir] simplify type constraints in AVX512 dialect
authorAlex Zinenko <zinenko@google.com>
Wed, 10 Mar 2021 10:45:53 +0000 (11:45 +0100)
committerAlex Zinenko <zinenko@google.com>
Wed, 10 Mar 2021 12:07:25 +0000 (13:07 +0100)
commit0af53de3699997d04bc0e23f6b366c26a4a9268b
treeecf5826edf2eded799fe997b969ec4e4029dc30c
parent2ce4caf4143bc7f6fe084da03d2ce268a7a06a6d
[mlir] simplify type constraints in AVX512 dialect

VectorOfLengthAndType accepts a cartesian product of given lengths and types
rather than types produced by co-indexed values in the corresponding lists.
Update the definitions accordingly. The type validity is already enforced by
op traits.

Reviewed By: nicolasvasilache, springerm

Differential Revision: https://reviews.llvm.org/D98327
mlir/include/mlir/Dialect/AVX512/AVX512.td