[all-commits] [llvm/llvm-project] 9ed76f: [flang][openacc] Relax clause rule on routine dire...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Jun 28 09:07:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ed76f3958bba8abb0e40fa51f9ff54961332f18
      https://github.com/llvm/llvm-project/commit/9ed76f3958bba8abb0e40fa51f9ff54961332f18
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M flang/docs/OpenACC.md
    M flang/test/Semantics/OpenACC/acc-routine-validity.f90
    M llvm/include/llvm/Frontend/OpenACC/ACC.td

  Log Message:
  -----------
  [flang][openacc] Relax clause rule on routine directive

Some compiler treat `acc routine` without a parallelism clause as
if seq is present. Relax the parser rule to allow acc routine
without clause. The default clause will be handled in lowering.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D153896




More information about the All-commits mailing list