================
@@ -0,0 +1,39 @@
+// RUN: cir-opt %s --verify-roundtrip | FileCheck %s
+
+module {
+ cir.func @without_names() attributes {cir.cl.kernel_arg_metadata =
#cir.cl.kernel_arg_metadata<addr_space =
[#cir<lang_address_space(offload_global)>, #cir<lang_address_space(default)>],
access_qual = ["none", "none"], type = ["uint*", "int"], base_type = ["uint*",
"int"], type_qual = ["restrict", ""]>} {
----------------
RiverDave wrote:
I think realistically `kernel_arg_metadata` should be emitted based on the
existing parameters of said cir.func - up to you, but I would express them in
the tests.
https://github.com/llvm/llvm-project/pull/199530
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits