Fix ConstShapeOp::inferReturnTypes to be resilient to lack of properties
authorMehdi Amini <joker.eph@gmail.com>
Mon, 15 May 2023 19:12:28 +0000 (12:12 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 15 May 2023 19:12:28 +0000 (12:12 -0700)
commita58ed7fcf6fcae7b622f8a1873459f28725ce7d6
treeb2a1305666b3f2a4f8e23b49e38eb0e6cb87ca86
parent27b739228b42ecc7c15664670859e2bbad3b7749
Fix ConstShapeOp::inferReturnTypes to be resilient to lack of properties

The Python bindings test aren't using properties yet, this is a bit
of a hack to support this here, but hopefully it'll be temporary.
mlir/lib/Dialect/Shape/IR/Shape.cpp