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

Sairudra More via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 4 20:51:56 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());
----------------
Saieiei wrote:

It’s an unintended rebase artifact, the branch was based on an upstream before #168608 was merged. I have rebased on the latest main and updated the patch to keep this line. Thanks for catching this!


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


More information about the cfe-commits mailing list