Enables inferring return types for Shape op if possible
authorChia-hung Duan <chiahungduan@google.com>
Wed, 18 Aug 2021 20:46:26 +0000 (20:46 +0000)
committerChia-hung Duan <chiahungduan@google.com>
Wed, 18 Aug 2021 21:36:55 +0000 (21:36 +0000)
commit41e5dbe0fa95933c60bd70eda65af0f2d0243e39
treed42079877284852f12b8c5f2247445d8c82d3e95
parentc22b64ef66f7518abb6f022fcdfd86d16c764caf
Enables inferring return types for Shape op if possible

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D102565
mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
mlir/include/mlir/Interfaces/InferTypeOpInterface.td
mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/test/Dialect/Shape/invalid.mlir