[mlir][VectorOps] Expose SuperVectorizer as a utility
authorDiego Caballero <diego.caballero@intel.com>
Wed, 22 Jul 2020 21:10:29 +0000 (14:10 -0700)
committerDiego Caballero <diego.caballero@intel.com>
Wed, 22 Jul 2020 21:22:15 +0000 (14:22 -0700)
commit3fff5acd8f5f144cc2cd6f52cb3f37d8e01c4d2f
tree5e78da81183b07afef98a017d664cafb9cee2b43
parentdbdda8232a932f0379caf48f6fece613257381b3
[mlir][VectorOps] Expose SuperVectorizer as a utility

This patch refactors a small part of the Super Vectorizer code to
a utility so that it can be used independently from the pass. This
aligns vectorization with other utilities that we already have for loop
transformations, such as fusion, interchange, tiling, etc.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D84289
mlir/include/mlir/Dialect/Affine/Utils.h
mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp