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
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
120 ms | x64 windows > MLIR.IR::invalid-ops.mlir |
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
Unit TestsFailed
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 324058 mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/test/Dialect/Standard/canonicalize.mlir
|