ivanradanov wrote:

I am debating introducing a new operation workshare_loop_container which exists 
only to "contain" a omp.loop_nest between lowering an elemental to lowering the 
omp.workshare it is contained in.

so we would have this state:

```
omp.workshare {
  omp.workshare_loop_container {
    omp.loop_nest {}
  }
}
```

```
omp.workshare {
  omp.wsloop {
    omp.loop_nest {}
  }
}
```

Which may have come from a different lowering/codegen and we are not sure what 
the semantics of that code would be.

This new operation can later be reused for the `workdistribute` lowering as 
well.

https://github.com/llvm/llvm-project/pull/101445
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to