[mlir][Vector] Enable masking for static shapes
authorDiego Caballero <diegocaballero@google.com>
Wed, 15 Feb 2023 06:01:42 +0000 (06:01 +0000)
committerDiego Caballero <diegocaballero@google.com>
Wed, 15 Feb 2023 06:10:22 +0000 (06:10 +0000)
commit1427277eed800335ea211cdb94f10b4976a54231
treedf276cdf1e0ba8819a98159b0338ecb333a22367
parent1ac874c9aa1859fe67fad110c278588a5a670d78
[mlir][Vector] Enable masking for static shapes

Support for masking static shapes was already implemented in the past
but not enabled so this patch is just removing a pre-condition check and
adding some tests with static shapes.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D143937
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
mlir/test/Dialect/Linalg/vectorization.mlir