[clang] Add spirv-val compilation step when targeting SPIR-V (PR #188150)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 26 13:50:00 PDT 2026


================
@@ -0,0 +1,26 @@
+// RUN: mkdir -p %t.dir
+// RUN: env PATH="" %clang_dxc -spirv -I test -Tlib_6_3 -Fo %t.dir/a.spv  -### %s 2>&1 | FileCheck %s
+
+// Make sure report warning, and only once.
+// CHECK:spirv-val not found
----------------
inbelic wrote:

nit: may as well include the full errror message

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


More information about the cfe-commits mailing list