diff options
author | Arnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com> | 2021-06-18 15:37:36 -0400 |
---|---|---|
committer | Arnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com> | 2021-06-18 16:24:36 -0400 |
commit | 8fdd475c85634c4a5e5cd83d7dc15ff56c458813 (patch) | |
tree | 9b10dc7f017216b853ce92b4cf63c9c191ca76f8 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | dd15c2723cd29574c341ec189409a6c83fbefb04 (diff) | |
download | llvm-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