[flang-commits] [flang] [llvm] [mlir] [Flang][OpenMP] Fix Flang crash and incorrect ordering with OpenMP detached task (PR #194840)
Jan André Reuter via flang-commits
flang-commits at lists.llvm.org
Wed Apr 29 05:58:25 PDT 2026
================
@@ -85,6 +85,7 @@ static const OmpDirectiveSet topParallelSet{
Directive::OMPD_parallel_loop,
Directive::OMPD_parallel_masked_taskloop,
Directive::OMPD_parallel_masked_taskloop_simd,
+ Directive::OMPD_parallel_master,
----------------
Thyre wrote:
Do we also need `Directive::OMPD_parallel_masked`?
Based on e.g. `OMPD_parallel_masked_taskloop` and `OMPD_parallel_master_taskloop`, I'd guess that we need to add that when we're adding `OMP_parallel_master`.
But I'm certainly no expert in the code here.
https://github.com/llvm/llvm-project/pull/194840
More information about the flang-commits
mailing list