[Mlir-commits] [mlir] Reimplementing target description concept using DLTI attribute (PR #92138)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon May 27 12:43:29 PDT 2024


================
@@ -90,3 +90,132 @@ module attributes { dlti.dl_spec = #dlti.dl_spec<#dlti.dl_entry<"unknown.unknown
   // expected-note at above {{enclosing op with data layout}}
   "test.op_with_data_layout"() { dlti.dl_spec = #dlti.dl_spec<#dlti.dl_entry<"unknown.unknown", 32>>} : () -> ()
 }
+
+// -----
+
+// expected-error at below {{'dlti.target_system_desc_spec' is expected to be a #dlti.target_system_desc_spec attribute}}
----------------
banach-space wrote:

```suggestion
// expected-error at below {{'dlti.target_system_desc_spec' is expected to be a #dlti.target_device_desc_spec attribute}}
```

Or did I misunderstand this? Though the next test suggests that I got it right :)

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


More information about the Mlir-commits mailing list