[clang] [llvm] [clang][SYCL] Add -fno-sycl-rdc to finalize device code per translation unit (PR #218089)

Yury Plyakhin via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 31 18:58:21 PDT 2026


================
@@ -95,6 +95,9 @@ def err_drv_hipspv_no_hip_path : Error<
   "'--hip-path' must be specified when offloading to SPIR-V unless '-nogpuinc' "
   "is given">;
 
+def err_drv_sycl_no_rdc_multiple_targets : Error<
+  "'%0' is not supported with multiple SYCL offloading targets">;
----------------
YuriPlyakhin wrote:

I don't think that it is a fundamental limitation. I think it could be provided in the future. So, I'll keep the error as is.

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


More information about the cfe-commits mailing list