mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 17:28:30 +08:00
This patch adds the following nesting check for `barrier` constructs: ``` A barrier region may not be closely nested inside a worksharing, loop, task, taskloop, critical, ordered, atomic, or master region. ``` Also adds a test case for the check, Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D99888