[Mlir-commits] [mlir] [MLIR][LLVM] Remove typed pointers from the LLVM dialect (PR #71285)

Christian Ulmann llvmlistbot at llvm.org
Sat Nov 4 11:39:37 PDT 2023


================
@@ -117,11 +117,6 @@ llvm.mlir.global internal protected unnamed_addr @protected(42 : i32) : i32
 
 // -----
 
-// expected-error @+1 {{expects type to be a valid element type for an LLVM pointer}}
-llvm.mlir.global internal constant @constant(37.0) : !llvm.label
----------------
Dinistro wrote:

Good catch. I'm moving the pointer type check logic directly into the `GlobalOp` verifier to restore this check. 

https://github.com/llvm/llvm-project/pull/71285


More information about the Mlir-commits mailing list