[llvm-branch-commits] [flang] [flang][openmp] Add Lowering to omp mlir for workdistribute construct (PR #154378)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Aug 21 01:48:15 PDT 2025


================
@@ -0,0 +1,30 @@
+! RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
----------------
skc7 wrote:

As per spec, "The binding region is the innermost enclosing `teams` region" for `workdistribute`. 
Have added Semantics check in #154377 to error if `workdistribute` is not nested under `teams` region.

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


More information about the llvm-branch-commits mailing list