[mlir][spirv] Check GlobalVariableOp result to be of pointer types
Querying the storage class in the verifier will assume the result type is of pointer types. We need to check that's true first to make sure it won't crash. Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D139053
Loading
Please sign in to comment