This patch supports to fold InsertStridedSliceOp(ExtractStridedSliceOp(dst), dst) to dst.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D128903
[mlir][Vector] Fold InsertStridedSliceOp of ExtractStridedSliceOp. ClosedPublic Authored by jacquesguan on Jun 30 2022, 4:27 AM.
Details Summary This patch supports to fold InsertStridedSliceOp(ExtractStridedSliceOp(dst), dst) to dst.
Diff Detail
Event TimelineThis revision now requires changes to proceed.Jun 30 2022, 1:38 PM This revision is now accepted and ready to land.Jun 30 2022, 8:21 PM Closed by commit rG8f45c5862f82: [mlir][Vector] Fold InsertStridedSliceOp of ExtractStridedSliceOp. (authored by jacquesguan). · Explain WhyJun 30 2022, 8:45 PM This revision was automatically updated to reflect the committed changes. jacquesguan marked an inline comment as done.
Revision Contents
Diff 441582 mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/test/Dialect/Vector/canonicalize.mlir
|
Because these are required to be I64ArrayAttrs, you can directly do pointer comparisons.