[all-commits] [llvm/llvm-project] db2059: [flang][openacc] Add check for acc cache directive...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Sep 8 14:51:00 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db20592ffe91407688d4e806ceace8cb94f0b066
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M flang/lib/Semantics/check-acc-structure.cpp
    M flang/lib/Semantics/check-acc-structure.h
    M flang/test/Semantics/OpenACC/acc-cache-validity.f90

  Log Message:
  [flang][openacc] Add check for acc cache directive (#65807)

OpenACC 3.3 - 2.10 The cache directive may appear at the top of (inside
of) a loop.

This patch adds a semantic check to ensure the cache directive is inside
a loop.

More information about the All-commits mailing list