HomePhabricator

[mlir][linalg] Use AffineApplyOp to compute padding width (NFC).

Authored by gysit on Wed, Nov 10, 6:15 AM.

Description

[mlir][linalg] Use AffineApplyOp to compute padding width (NFC).

Use AffineApplyOp instead of SubIOp to compute the padding width when creating a pad tensor operation.

Depends On D113382

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D113404