================
@@ -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=">,
----------------
sarnex wrote:
I'm not sure if this is a realistic usecase or one we care about, but if we
have a single option would we lose the ability to have different offload
targets for different offloading languages at the same time? Like `-fopenmp
-fopenmp-targets=amdgcn -fsycl -fsycl-targets=nvptx64`. I guess if we really
wanted to support that we could add some special optional syntax to
offload-targets.
https://github.com/llvm/llvm-project/pull/146594
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits