[Mlir-commits] [mlir] [mlir][LLVM] Fix crash combining nested pointer data layouts (PR #222855)

Tobias Gysi llvmlistbot at llvm.org
Sun Sep 20 22:38:29 PDT 2026


================
@@ -173,6 +173,17 @@ module attributes { dlti.dl_spec = #dlti.dl_spec<
 
 // -----
 
+module attributes { dlti.dl_spec = #dlti.dl_spec<
+  #dlti.dl_entry<!llvm.ptr, dense<64> : vector<4xi64>>
+>} {
+  module attributes { dlti.dl_spec = #dlti.dl_spec<
+    #dlti.dl_entry<!llvm.ptr, dense<64> : vector<4xi64>>
+  >} {
+  }
----------------
gysit wrote:

Should we add a `test.data_layout_query` operation that check lines to verify the merged data layout matches the expectation (similar to the other non-error tests in the file)? 

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


More information about the Mlir-commits mailing list