diff options
| author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-11-22 16:51:00 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-22 16:51:00 -0600 |
| commit | c81a189c5083b72c128ec33cda8d39367c2e2f1f (patch) | |
| tree | 5dacc28fad57733c764f67752084db7515d7a3d5 /llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp | |
| parent | a2231af5ddafbc82c9d6ecc994690639958c6661 (diff) | |
[flang][OpenMP] Canonicalize loops with intervening OpenMP constructs (#169191)
Example based on the gfortran test a.6.1.f90
```
do 100 i = 1,10
!$omp do
do 100 j = 1,10
call work(i,j)
100 continue
```
During canonicalization of label-DO loops, if the body of an OpenMP
construct ends with a label, treat the label as ending the construct
itself.
This will also allow handling of cases like
```
do 100 i = 1, 10
!$omp atomic write
100 x = i
```
which we were unable to before.
Diffstat (limited to 'llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
