[MLIR][Shape] Limit shape to standard lowerings to their supported types
authorFrederik Gossen <frgossen@google.com>
Wed, 29 Jul 2020 13:53:41 +0000 (13:53 +0000)
committerFrederik Gossen <frgossen@google.com>
Wed, 29 Jul 2020 13:56:52 +0000 (13:56 +0000)
commit6673c6cd82f79b76c1676ab1ab30a288286acb71
tree0f9a9f4f25a5e17bc9f703330ad11080e14ecbf7
parent517fe058d42a1f937e14de4b61a5ac2ad326c850
[MLIR][Shape] Limit shape to standard lowerings to their supported types

The lowering does not support all types for its source operations. This change
makes the patterns fail in a well-defined manner.

Differential Revision: https://reviews.llvm.org/D84443
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir