This is actually necessary for correctness, as memref.reinterpret_cast
doesn't verify if the output shape doesn't match the static sizes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D102232
[mlir] Use static shape knowledge when lowering memref.reshape ClosedPublic Authored by bkramer on May 11 2021, 5:17 AM.
Details Summary This is actually necessary for correctness, as memref.reinterpret_cast
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, teijeong and 16 others. · View Herald TranscriptMay 11 2021, 5:17 AM This revision is now accepted and ready to land.May 11 2021, 5:19 AM Closed by commit rGb20e150c9be1: [mlir] Use static shape knowledge when lowering memref.reshape (authored by bkramer). · Explain WhyMay 11 2021, 9:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 344367 mlir/lib/Dialect/StandardOps/Transforms/ExpandOps.cpp
mlir/test/Dialect/Standard/expand-ops.mlir
|