History log of /llvm-project/clang/test/OpenMP/Inputs/nesting_of_regions.cpp (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 81cdf947 11-Jul-2024 Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>

[clang][OpenMP] Fix region nesting check for `scan` directive (#98386)

The previous check was inconsistent. For example, it would allow
```
#pragma omp target
#pragma omp parallel for
for (...

[clang][OpenMP] Fix region nesting check for `scan` directive (#98386)

The previous check was inconsistent. For example, it would allow
```
#pragma omp target
#pragma omp parallel for
for (...) {
#pragma omp scan
}
```
but not
```
#pragma omp target parallel for
for (...) {
#pragma omp scan
}
```

Make the check conform to the wording on the specification.

show more ...


# b097018f 24-Jun-2024 Mike Rice <michael.p.rice@intel.com>

[clang][OpenMP] Fix teams nesting of region check (#94806)

The static verifier flagged dead code in the check since the loop will
only execute once and never reach the iterator increment.

The lo

[clang][OpenMP] Fix teams nesting of region check (#94806)

The static verifier flagged dead code in the check since the loop will
only execute once and never reach the iterator increment.

The loop needs to iterate twice to correctly diagnose when a statement
is after the teams.

Since there are two iterations again, reset the iterator to the first
teams directive when the double teams case is seen so the diagnostic can
report both locations.

show more ...


Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4
# aa6a089c 08-Apr-2024 Mike Rice <michael.p.rice@intel.com>

[NFC][OpenMP] Split nesting_of_regions test (#87842)

This test is the bottleneck for OpenMP lit tests, running about twice as
long as the others. Break it into five tests based on run lines with th

[NFC][OpenMP] Split nesting_of_regions test (#87842)

This test is the bottleneck for OpenMP lit tests, running about twice as
long as the others. Break it into five tests based on run lines with the
same version.

show more ...