[Mlir-commits] [mlir] [mlir] Add support for DIGlobalVariable and DIGlobalVariableExpression (PR #73367)

Tobias Gysi llvmlistbot at llvm.org
Sun Dec 3 11:14:35 PST 2023


================
@@ -205,56 +205,26 @@ llvm.mlir.global internal @g(43 : i64) : i64 {
 
 // -----
 
-llvm.mlir.global internal @g(32 : i64) {addr_space = 3: i32} : i64
-func.func @mismatch_addr_space_implicit_global() {
-  // expected-error @+1 {{pointer address space must match address space of the referenced global}}
-  llvm.mlir.addressof @g : !llvm.ptr
-  llvm.return
-}
-
-// -----
-
-llvm.mlir.global internal @g(32 : i64) {addr_space = 3: i32} : i64
-
-func.func @mismatch_addr_space() {
----------------
gysit wrote:

It looks like you accidentally remove some tests here? Or did they go somewhere else?

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


More information about the Mlir-commits mailing list