[all-commits] [llvm/llvm-project] 97c9c9: [flang][OpenMP] Added semantic checks for target u...

Shraiysh via All-commits all-commits at lists.llvm.org
Sat Nov 4 13:20:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97c9c9429cb72d230ecd31d45ae83e0ca3470ca1
      https://github.com/llvm/llvm-project/commit/97c9c9429cb72d230ecd31d45ae83e0ca3470ca1
  Author: Shraiysh <Shraiysh.Vaishay at amd.com>
  Date:   2023-11-04 (Sat, 04 Nov 2023)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/test/Parser/OpenMP/if-clause.f90
    M flang/test/Semantics/OpenMP/if-clause.f90
    A flang/test/Semantics/OpenMP/target-update01.f90

  Log Message:
  -----------
  [flang][OpenMP] Added semantic checks for target update (#71270)

This patch adds the following semantic check for target update

```
At least one motion-clause must be specified.
```

A motion clause is either a `to` or a `from` clause.

This patch also adds a test for the following semantic check which was
already supported.

```
At most one nowait clause can appear on the directive.
```




More information about the All-commits mailing list