Quick fix for a failing test in https://reviews.llvm.org/rG5267ed05bc4612e91409d63b4dbc4e01751acb75.
When properties is empty, the getProperties method in the OpAdaptor class returns an empty struct as opposed to a null pointer. This caused the null check on the properties of ConstShapeOp to fail. The fix involves performing the null check on the shape value within the Properties struct.