[llvm-branch-commits] [clang] [llvm] [Clang][OMPX] Add the code generation for multi-dim `num_teams` (PR #101407)

Alexey Bataev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Aug 1 03:30:47 PDT 2024


================
@@ -9576,6 +9576,20 @@ static void genMapInfo(const OMPExecutableDirective &D, CodeGenFunction &CGF,
                         MappedVarSet, CombinedInfo);
   genMapInfo(MEHandler, CGF, CombinedInfo, OMPBuilder, MappedVarSet);
 }
+
+static void emitNumTeamsForBareTargetDirective(
+    CodeGenFunction &CGF, const OMPExecutableDirective &D,
+    llvm::SmallVectorImpl<llvm::Value *> &NumTeams) {
----------------
alexey-bataev wrote:

```suggestion
    llvm::ArrayRef<llvm::Value *> NumTeams) {
```

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


More information about the llvm-branch-commits mailing list