[all-commits] [llvm/llvm-project] ebf5f3: [flang][openacc] Make sure the correct flags are s...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Aug 4 13:09:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ebf5f371304f29ef3568b82d10e6551e8b06dc1a
      https://github.com/llvm/llvm-project/commit/ebf5f371304f29ef3568b82d10e6551e8b06dc1a
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Semantics/OpenACC/acc-symbols02.f90

  Log Message:
  -----------
  [flang][openacc] Make sure the correct flags are set for symbol in acc declare

Flags were not correctly set for symbols appearing in the OpenACC declare
directive in module declaration part.

Also some missing flags for OpenACC are added. This makes the Flags enum
> 64 and then the implementation switch to std::bitset as defined in
`flang/include/flang/Common/enum-set.h`. Therefore, `constexpr` cannot be
used for set of flags in `flang/lib/Semantics/resolve-directives.cpp`.

Reviewed By: razvanlupusoru

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




More information about the All-commits mailing list