3 Commits

Author SHA1 Message Date
Frederik Gossen
5a7cd5db3c [MLIR][Shape] Fix ambiguous symbol 2020-06-25 09:40:08 +00:00
Frederik Gossen
e34b88309e [MLIR][Shape] Lower shape_of for unranked tensors
Lower `shape_of` for unranked tensors.
Materializes shape in stack-allocated memory.

Differential Revision: https://reviews.llvm.org/D82196
2020-06-25 08:50:45 +00:00
Alexander Belyaev
3813f24e97 [mlir][shape] Add a pattern to rewrite shape.reduce as scf.for.
Differential Revision: https://reviews.llvm.org/D81694
2020-06-15 17:54:50 +02:00