[all-commits] [llvm/llvm-project] 8bc676: [flang][openacc] Lower acc cache directive (#65673)

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Sep 11 13:38:36 PDT 2023


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

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M flang/test/Lower/OpenACC/acc-loop.f90

  Log Message:
  -----------
  [flang][openacc] Lower acc cache directive (#65673)

The cache directive is attached directly to the acc.loop operation when
the directive appears in the loop. When it appears before a loop, the
OpenACCCacheConstruct is saved and attached when the acc.loop is
created.

Directive that cannot be attached to a loop are silently discarded. 

Depends on #65521




More information about the All-commits mailing list