================
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 %s -fclangir -cl-std=CL2.0 -triple x86_64-unknown-linux-gnu
-emit-cir -o - -verify
+
+kernel void invalid_target_addr_space_kernel_arg(
+ // expected-error@+1 {{ClangIR code gen Not Yet Implemented: OpenCL kernel
argument metadata for target-specific address_space(N) kernel parameters;
classic CodeGen currently accepts this case}}
----------------
RiverDave wrote:
I would adjust this assumption based on the way OG behavior. As I pointed out
earlier the kernel arg attribute should collapse to default
https://github.com/llvm/llvm-project/pull/200581
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits