[mlir][vector] Disallow vector.fma over vectors of integers
authorJakub Kuderski <kubak@google.com>
Fri, 13 Jan 2023 20:44:57 +0000 (15:44 -0500)
committerJakub Kuderski <kubak@google.com>
Fri, 13 Jan 2023 20:46:01 +0000 (15:46 -0500)
commite0f3a95f9d999b526a9e82bb1a4012fdcb09b364
treea32a8afe64c07edd3dcffff970b40b5c68cf6092
parentafc3756e6c6da68f066703f384aca6c2ffb54286
[mlir][vector] Disallow vector.fma over vectors of integers

This is to make `vector.fma` more consistent with the standard
definition of `fma` that is defined only for flaoting point types.

Reviewed By: dcaballe

Differential Revision: https://reviews.llvm.org/D141711
mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
mlir/test/Dialect/Vector/invalid.mlir