Now that we can have a memref of index type, we no longer need to materialize shapes in i64 and then index_cast.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D84938
[mlir][shape] Use memref of index in shape lowering ClosedPublic Authored by herhut on Jul 30 2020, 5:38 AM.
Details
Summary Now that we can have a memref of index type, we no longer need to materialize shapes in i64 and then index_cast.
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptJul 30 2020, 5:38 AM This revision is now accepted and ready to land.Jul 30 2020, 6:06 AM This revision was landed with ongoing or failed builds.Jul 30 2020, 6:20 AM Closed by commit rG85defd23aa09: [mlir][shape] Use memref of index in shape lowering (authored by herhut). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 281908 mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp
mlir/test/Conversion/ShapeToSCF/shape-to-scf.mlir
|