[clang] [clang][SPIR-V] Use the SPIR-V backend by default (PR #129545)

Arvind Sudarsanam via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 5 06:12:26 PST 2025


================
@@ -78,7 +77,7 @@ class LLVM_LIBRARY_VISIBILITY SPIRVToolChain : public ToolChain {
 
   bool useIntegratedAs() const override { return true; }
 
-  bool IsIntegratedBackendDefault() const override { return false; }
+  bool IsIntegratedBackendDefault() const override { return true; }
----------------
asudarsa wrote:

This was something introduced for use of SPIR-V backend in conjunction with the translator. may be cleanup at a later stage? https://reviews.llvm.org/D125679

Thanks

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


More information about the cfe-commits mailing list