================ @@ -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') ---------------- PrabbyDD wrote:
I am not sure what you mean by this. Is that not what is already happening? I am taking the value of `getTriple.str() `and plugging it into the error via %0. Do you mean to just remove the %0 and the ` << getTriple.str()`? https://github.com/llvm/llvm-project/pull/190840 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
