[mlir][linalg] Support the empty anchor op string when padding.
authorgysit <gysit@google.com>
Tue, 30 Nov 2021 15:31:56 +0000 (15:31 +0000)
committergysit <gysit@google.com>
Tue, 30 Nov 2021 15:32:13 +0000 (15:32 +0000)
commit316e627c2b98bac867836378dd6294ad79f7eb3f
treed6e8eb0afe326569af0f71249168a2d7cfd08da0
parent3e32f827e2647b6fa8022cbc76eac384b3c4e2b4
[mlir][linalg] Support the empty anchor op string when padding.

Add support for an empty anchor op string in vectorization. An empty anchor op string is useful after fusion when there are multiple different operations to vectorize.

Depends On D114689

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114690
mlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
mlir/test/Dialect/Linalg/codegen-strategy.mlir
mlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp