[mlir][linalg] Simplify padding test (NFC).
authorTobias Gysi <gysit@google.com>
Wed, 24 Nov 2021 19:21:18 +0000 (19:21 +0000)
committerTobias Gysi <gysit@google.com>
Wed, 24 Nov 2021 19:21:50 +0000 (19:21 +0000)
commitb6e7b1be732d2b35c1452731883de812a818ff2a
treef11c891e2eb9346a5598e103ecd3dc29d3eab3c2
parentd42a6432aa37a6b9aa7e4f5209e9679c8a4c2fbb
[mlir][linalg] Simplify padding test (NFC).

The padding tests previously contained the tile loops. This revision removes the tile loops since padding itself does not consider the loops. Instead the induction variables are passed in as function arguments which promotes them to symbols in the affine expressions. Note that the pad-and-hoist.mlir test still exercises padding in the context of the full loop nest.

Depends On D114175

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D114227
mlir/test/Dialect/Linalg/pad.mlir