================
@@ -42,3 +43,5 @@
// NO-PLUGIN-NOT: {{".*opt"}} {{".*.bc"}} "-load-pass-plugin"
// NO-PLUGIN-NOT: {{".*/Inputs/hipspv/lib/libLLVMHipSpvPasses.so"}}
// ALL: {{".*llvm-spirv[^ ]*"}}
+// CHIPSTAR: {{".*clang.*"}} "-cc1"
----------------
yxsamliu wrote:
Maybe add `REQUIRES: spirv-registered-target` to this test.
The new chipStar checks expect the in-tree SPIR-V backend path (`clang -cc1
-emit-obj`). If LLVM is built without the SPIR-V target, HIPSPV should fall
back to `llvm-spirv`, so these checks may fail. `hipspv-toolchain.hip` already
has this guard.
https://github.com/llvm/llvm-project/pull/206910
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits