Fold PadTensorOp to source if source type and result type have static shape and are equal.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D103778
[mlir][linalg] Fold linalg.pad_tensor if src type == result type ClosedPublic Authored by springerm on Jun 6 2021, 5:16 PM.
Details Summary Fold PadTensorOp to source if source type and result type have static shape and are equal.
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, mravishankar and 17 others. · View Herald TranscriptJun 6 2021, 5:16 PM This revision is now accepted and ready to land.Jun 11 2021, 4:53 AM Closed by commit rGb6ab4f1a8b65: [mlir][linalg] Fold linalg.pad_tensor if src type == result type (authored by springerm). · Explain WhyJun 15 2021, 1:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 352059 mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
mlir/test/Dialect/Linalg/canonicalize.mlir
|