[all-commits] [llvm/llvm-project] 5e09a0: [flang][openacc] Fix clause restriction for host_d...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Jan 27 07:11:15 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e09a025277c170cf864a86d8eea8b1adeb9fbd9
      https://github.com/llvm/llvm-project/commit/5e09a025277c170cf864a86d8eea8b1adeb9fbd9
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M flang/test/Semantics/OpenACC/acc-host-data.f90
    M llvm/include/llvm/Frontend/OpenACC/ACC.td

  Log Message:
  -----------
  [flang][openacc] Fix clause restriction for host_data directive

Restriction on clauses for the HOST_DATA directive were not fully correct.
This patch fixes the situation. The if and if_present clauses are allowed
only once.

Reviewed By: SouraVX

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




More information about the All-commits mailing list