================
@@ -91,6 +92,17 @@ Compilation::getArgsForToolChain(const ToolChain *TC,
BoundArch BA,
delete OpenMPArgs;
}
+ if (NewDAL && DeviceOffloadKind == Action::OFK_OpenMP &&
+ (TheDriver.IsCLMode() ||
----------------
yxsamliu wrote:
Changed the common translation to use only `IsCLMode()` for all toolchains. I
kept the existing GNU-mode MSVC support in the OpenMP forwarding path, using
the same helper.
https://github.com/llvm/llvm-project/pull/228096
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits