This patch folds InsertStridedSliceOp(SplatOp(X):src_type, SplatOp(X):dst_type) to SplatOp(X):dst_type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D128891
[mlir][Vector] Fold InsertStridedSliceOp of two splat with the same input to splat. ClosedPublic Authored by jacquesguan on Jun 30 2022, 1:35 AM.
Details Summary This patch folds InsertStridedSliceOp(SplatOp(X):src_type, SplatOp(X):dst_type) to SplatOp(X):dst_type.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 30 2022, 1:49 PM This revision was landed with ongoing or failed builds.Jun 30 2022, 7:56 PM Closed by commit rG91ab4d4231e5: [mlir][Vector] Fold InsertStridedSliceOp of two splat with the same input to… (authored by jacquesguan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 441577 mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/test/Dialect/Vector/canonicalize.mlir
|