================
@@ -5610,6 +5605,7 @@ void Driver::BuildJobs(Compilation &C) const {
J.InProcess = false;
markOffloadDeviceCC1JobsForParallelExecution(C);
+ claimAndDiagnoseOffloadJobs(*this, C.getArgs());
----------------
yxsamliu wrote:
Agreed. I will only claim `--offload-jobs` when offloading is active. A normal
C++ compilation will still report it as unused. CMake can test the option using
a HIP/offload compilation.
https://github.com/llvm/llvm-project/pull/214310
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits