Reshape can take integer types in addition to index, but dim always
returns index.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D104287
[mlir][MemRef] Make sure types match when folding dim(reshape) ClosedPublic Authored by bkramer on Jun 15 2021, 3:33 AM.
Details Summary Reshape can take integer types in addition to index, but dim always
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, teijeong and 16 others. · View Herald TranscriptJun 15 2021, 3:33 AM This revision is now accepted and ready to land.Jun 15 2021, 3:44 AM This revision was landed with ongoing or failed builds.Jun 15 2021, 3:50 AM Closed by commit rGcd9393514676: [mlir][MemRef] Make sure types match when folding dim(reshape) (authored by bkramer). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 352090 mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
mlir/test/Dialect/Standard/canonicalize.mlir
|