================
@@ -0,0 +1,4 @@
+// RUN: not %clang -target spirv %s 2>&1 | FileCheck %s
+// CHECK: error: SPIR-V target '%0' requires a Vulkan environment (e.g. 
'-target spirv64-unknown-vulkan1.3')
----------------
to268 wrote:

> I am not sure what you mean by this. Is that not what is already happening?

Yes but the `%0` is only used in the tablegen file that acts as a "format 
string" to match streamed arguments to the diagnostic engine. You need to put 
the actual value as is it showed to the end user in the test case.

https://github.com/llvm/llvm-project/pull/190840
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to