[mlir][linalg] Add test case: vectorize tensor.pad and bufferize to allocation
authorMatthias Springer <me@m-sp.org>
Tue, 4 Jul 2023 14:45:59 +0000 (16:45 +0200)
committerMatthias Springer <me@m-sp.org>
Tue, 4 Jul 2023 14:46:28 +0000 (16:46 +0200)
commite941e16de8ff5b9c368dc51e40f6922fea8465e8
treef341d3efbaf1c740bdf3948ede056c7c0fbf3946
parentc7c3d71414ac250f377c067efd4848c353cec4cc
[mlir][linalg] Add test case: vectorize tensor.pad and bufferize to allocation

Add a test case that first vectorizes a `tensor.pad` op, then bufferizes it to a new allocation with a specified memory space.

Differential Revision: https://reviews.llvm.org/D154082
mlir/test/Dialect/Linalg/pad-to-specific-memory-space.mlir