This patch fixes a bug to allow ordered construct within a non-worksharing loop, also adds more sema checks
Also adds a test case for the checks
Differential D98733
[Flang][OpenMP] Add more sema checks for ordered construct arnamoy10 on Mar 16 2021, 12:05 PM. Authored by
Details This patch fixes a bug to allow ordered construct within a non-worksharing loop, also adds more sema checks Also adds a test case for the checks
Diff Detail Event Timeline
Comment Actions LGTM.
|
"An ordered region corresponding to an ordered construct without any clause or with the threads or depend clause may not be closely nested inside a critical, ordered, loop, atomic, task, or taskloop region."
According to the standard the restriction is as given above. Does doSet capture this?