[libc-commits] [libc] [OpenMPIRBuilder] Remove wrapper function in `createTask`, `createTeams` (PR #67723)

Kiran Chandramohan via libc-commits libc-commits at lists.llvm.org
Thu Oct 5 04:03:08 PDT 2023


================
@@ -5748,6 +5758,7 @@ OpenMPIRBuilder::createTeams(const LocationDescription &Loc,
     BasicBlock *BodyBB = splitBB(Builder, /*CreateBranch=*/true, "teams.entry");
     Builder.SetInsertPoint(BodyBB, BodyBB->begin());
   }
+  InsertPointTy OuterAllocaIP(&OuterAllocaBB, OuterAllocaBB.begin());
----------------
kiranchandramohan wrote:

Can this be defined close to its use?

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


More information about the libc-commits mailing list