[Mlir-commits] [mlir] [mlir][Ptr] Init the Ptr dialect with the `!ptr.ptr` type. (PR #86860)

Mehdi Amini llvmlistbot at llvm.org
Thu May 30 20:34:16 PDT 2024


================
@@ -0,0 +1,87 @@
+// RUN: mlir-opt --test-data-layout-query --split-input-file --verify-diagnostics %s | FileCheck %s
+
+module attributes { dlti.dl_spec = #dlti.dl_spec<
+  #dlti.dl_entry<!ptr.ptr, dense<[32, 32, 64]> : vector<3xi64>>,
----------------
joker-eph wrote:

This is a bit obscure and fragile to me, what about a dedicated attribute?
```
#dlti.dl_entry<!ptr.ptr, #ptr.spec<size=32, abi=32, preferred=64>>,
```

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


More information about the Mlir-commits mailing list