Use AffineApplyOp instead of SubIOp to compute the padding width when creating a pad tensor operation.
Depends On D113382
Paths
| Differential D113404
[mlir][linalg] Use AffineApplyOp to compute padding width (NFC). ClosedPublic Authored by gysit on Nov 8 2021, 7:55 AM.
Details Summary Use AffineApplyOp instead of SubIOp to compute the padding width when creating a pad tensor operation. Depends On D113382
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 20 others. · View Herald TranscriptNov 8 2021, 7:55 AM This revision is now accepted and ready to land.Nov 10 2021, 4:34 AM Closed by commit rGb86b2309ced1: [mlir][linalg] Use AffineApplyOp to compute padding width (NFC). (authored by gysit). · Explain WhyNov 10 2021, 6:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 385501 mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
mlir/test/Dialect/Linalg/pad-and-hoist.mlir
mlir/test/Dialect/Linalg/pad.mlir
|