[llvm] [LLVM][OpenMP] "nowait" clause is valid for "workshare" (PR #88426)
Kiran Chandramohan via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 11 14:50:40 PDT 2024
https://github.com/kiranchandramohan approved this pull request.
That makes sense. Please wait for @mjklemm or @kkwli before proceeding. If you are going ahead might be good to call this out in https://github.com/llvm/llvm-project/blob/main/flang/docs/Extensions.md
Looking at other compilers. gfortran seems to accept it, ifx and classic flang rejects.
> Not having the consistency makes it harder to handle OpenMP constructs with language-agnostic code.
It wasn't clear from the title that this is deviating from the standard specification for ease of implementation.
> Add the "if" clause to the list of allowed clauses for the "workshare" directive.
"if" -> "nowait"
https://github.com/llvm/llvm-project/pull/88426
More information about the llvm-commits
mailing list