[clang] [OpenMP] Fix defaultmap(firstprivate:pointer) handling (PR #169622)

via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 5 09:17:49 PST 2025


================
@@ -1039,7 +1040,6 @@ CGOpenMPRuntime::CGOpenMPRuntime(CodeGenModule &CGM)
       hasRequiresUnifiedSharedMemory(), /*HasRequiresDynamicAllocators*/ false);
   Config.setDefaultTargetAS(
       CGM.getContext().getTargetInfo().getTargetAddressSpace(LangAS::Default));
-  Config.setRuntimeCC(CGM.getRuntimeCC());
----------------
agozillon wrote:

No problem at all, I've done the same a few times! Thank you for the fix.

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


More information about the cfe-commits mailing list