memref.expand_shape has verification logic to make sure
result dim must be static if all the collapsing src dims are static.
This can be relaxed once expand_shape supports more dynamism.
Paths
| Differential D114391
[mlir][memref] Fix expanded shape ops memref.cast folding with changed type ClosedPublic Authored by bkramer on Nov 22 2021, 1:14 PM.
Details Summary memref.expand_shape has verification logic to make sure This can be relaxed once expand_shape supports more dynamism.
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 20 others. · View Herald TranscriptNov 22 2021, 1:14 PM This revision is now accepted and ready to land.Nov 22 2021, 1:45 PM This revision was landed with ongoing or failed builds.Nov 22 2021, 1:56 PM Closed by commit rG966b72098363: [mlir][memref] Fix expanded shape ops memref.cast folding with changed type (authored by bkramer). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 389036 mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
mlir/test/Dialect/MemRef/canonicalize.mlir
|