When the destination of the subview has a lower rank than its source we need to fix the result type of the new subview op.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D96804
[mlir] Fix memref_cast + subview folder when reducing rank ClosedPublic Authored by ThomasRaoux on Feb 16 2021, 11:17 AM.
Details Summary When the destination of the subview has a lower rank than its source we need to fix the result type of the new subview op.
Diff Detail
Event TimelineHerald added subscribers: teijeong, rdzhabarov, tatianashp and 14 others. · View Herald TranscriptFeb 16 2021, 11:17 AM This revision is now accepted and ready to land.Feb 16 2021, 11:27 AM Closed by commit rGadfd3c7083f9: [mlir] Fix memref_cast + subview folder when reducing rank (authored by ThomasRaoux). · Explain WhyFeb 16 2021, 12:01 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 324074 mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/test/Dialect/Standard/canonicalize.mlir
|