[mlir][linalg] Vectorize linalg.pad_op source copying (static source shape)
authorMatthias Springer <springerm@google.com>
Mon, 14 Jun 2021 05:30:02 +0000 (14:30 +0900)
committerMatthias Springer <springerm@google.com>
Mon, 14 Jun 2021 05:31:34 +0000 (14:31 +0900)
commit4c2f3d810b4a032792b632998d90baf4ab2ff7f3
tree928686eb7de0bddefd413b1b057ab1ce25dbce65
parent98fff5153a81fc501a69a4c184de5236fc806b9f
[mlir][linalg] Vectorize linalg.pad_op source copying (static source shape)

If the source operand of a linalg.pad_op operation has static shape, vectorize the copying of the source.

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