[clang] [Clang] diagnosing missing Vulkan environment when using SPIR-V triple (PR #190840)

Tony Guillot via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 04:16:23 PDT 2026


================
@@ -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:

Replace `%0` by the actual triple value in the emitted error message.

https://github.com/llvm/llvm-project/pull/190840


More information about the cfe-commits mailing list