[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

Tom Eccles via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 10 06:43:11 PDT 2024


tblah wrote:

> I was wondering if there is some op that is like `scf.execute_region` but already used in flang.

Not that I am aware of.

I think adding `scf.execute_region` might be the easiest way to support this. The alternative would be to go back and convert the if statement into CFG before inserting into it. I guess this would warrant another RFC as we don't use scf currently.

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


More information about the llvm-branch-commits mailing list