[Openmp-commits] [clang] [openmp] [OpenMP] Directly use user's grid and block size in kernel language mode (PR #70612)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 28 15:45:50 PST 2023


================
@@ -14633,6 +14633,26 @@ StmtResult Sema::ActOnOpenMPTargetTeamsDirective(ArrayRef<OMPClause *> Clauses,
   }
   setFunctionHasBranchProtectedScope();
 
+  bool HasBareClause = false;
+  bool HasThreadLimitClause = false;
+  bool HasNumTeamsClause = false;
+  OMPClause *BareClause = nullptr;
----------------
jdoerfert wrote:

No need for HasBareClause since you got the pointer.

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


More information about the Openmp-commits mailing list