================
@@ -1138,6 +1138,10 @@ def fno_convergent_functions : Flag<["-"],
"fno-convergent-functions">,
// Common offloading options
let Group = offload_Group in {
+def offload_targets_EQ : CommaJoined<["--"], "offload-targets=">,
----------------
jhuber6 wrote:
Yeah, I'm not sure if it will ever make sense to mix languages. The offloading
kind is a function of the input, though that's muddled by arguments like
`-fopenmp` and `-fsycl` which 'pretend' it's a flag when really it's like
putting `-x c` in front of every input. *theoretically* we could have something
similar like `-Xlang_sycl --offload-target=abc`,but I really don't know if
anyone will ever care about that.
https://github.com/llvm/llvm-project/pull/146594
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits