[clang] [Clang] Rework creating offloading toolchains (PR #125556)

Arvind Sudarsanam via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 18 13:14:19 PDT 2025


================
@@ -109,65 +110,6 @@ using namespace clang::driver;
 using namespace clang;
 using namespace llvm::opt;
 
-static std::optional<llvm::Triple> getOffloadTargetTriple(const Driver &D,
-                                                          const ArgList &Args) {
-  auto OffloadTargets = Args.getAllArgValues(options::OPT_offload_EQ);
-  // Offload compilation flow does not support multiple targets for now. We
----------------
asudarsa wrote:

Can multiple targets be supported for SYCL offload as well in this scenario? (Not too familiar with ActionBuilders).

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


More information about the cfe-commits mailing list