aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorArnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com>2021-06-18 15:37:36 -0400
committerArnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com>2021-06-18 16:24:36 -0400
commit8fdd475c85634c4a5e5cd83d7dc15ff56c458813 (patch)
tree9b10dc7f017216b853ce92b4cf63c9c191ca76f8 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentdd15c2723cd29574c341ec189409a6c83fbefb04 (diff)
downloadllvm-8fdd475c85634c4a5e5cd83d7dc15ff56c458813.zip
llvm-8fdd475c85634c4a5e5cd83d7dc15ff56c458813.tar.gz
llvm-8fdd475c85634c4a5e5cd83d7dc15ff56c458813.tar.bz2
[flang][OpenMP] Add semantic checks for occurrence of nested Barrier regions
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions