[mlir][Vector] Add basic scalable vectorization support to Linalg vectorizer
authorDiego Caballero <diegocaballero@google.com>
Sat, 10 Jun 2023 00:36:33 +0000 (00:36 +0000)
committerDiego Caballero <diegocaballero@google.com>
Tue, 13 Jun 2023 23:55:15 +0000 (23:55 +0000)
commit77a5ea2e671265fea8e041c8002dcc53834b9cc0
treed061ffe6f4531ac01b569e184bab3fda2b0c01d8
parent9d5466849a770eeab222d5a5890376d3596e8ad6
[mlir][Vector] Add basic scalable vectorization support to Linalg vectorizer

For now, only elementwise operations are supported. Operations that perform any
kind of data permutation require changes in the representation of scalable
dimensions in VectorType.

Differential Revision: https://reviews.llvm.org/D152599
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/test/Dialect/Linalg/vectorization-masked.mlir
mlir/test/Dialect/Linalg/vectorization-scalable.mlir [new file with mode: 0644]