[llvm] [OpenMPIRBuilder] Added `createTeams` (PR #65767)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 08:41:09 PDT 2023


================
@@ -6106,6 +6108,148 @@ void OpenMPIRBuilder::loadOffloadInfoMetadata(Module &M) {
   }
 }
 
+OpenMPIRBuilder::InsertPointTy
+OpenMPIRBuilder::createTeams(const LocationDescription &Loc,
+                             BodyGenCallbackTy BodyGenCB) {
+  if (!updateToLocation(Loc)) {
+    return Loc.IP;
+  }
----------------
jdoerfert wrote:

Style: No braces

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


More information about the llvm-commits mailing list