Juan Manuel Martinez =?utf-8?q?Caamaño?= <juama...@amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juama...@amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juama...@amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/143...@github.com>


================
@@ -0,0 +1,98 @@
+// RUN: %clang_cc1 %s -triple amdgcn-unknown-unknown -verify -pedantic 
-Wconversion -Werror -fsyntax-only -cl-std=CL -finclude-default-header %s
+// RUN: %clang_cc1 %s -triple amdgcn-unknown-unknown -verify -pedantic 
-Wconversion -Werror -fsyntax-only -cl-std=CL -finclude-default-header 
-fdeclare-opencl-builtins %s
+// expected-no-diagnostics
+
----------------
svenvh wrote:

If this extension only adds new builtin functions without altering parsing, you 
[shouldn't need any 
pragmas](https://clang.llvm.org/docs/OpenCLSupport.html#opencl-extensions-and-features).
  I suppose the extension is enabled for the chosen triple already.

https://github.com/llvm/llvm-project/pull/143507
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to