[all-commits] [llvm/llvm-project] cd5031: [flang][OpenMP] Enhance parser support for flush c...

Kiran Kumar T P via All-commits all-commits at lists.llvm.org
Tue Jul 7 01:57:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cd503166fb74baf91c55f5f959ed9cd016cbd9f7
      https://github.com/llvm/llvm-project/commit/cd503166fb74baf91c55f5f959ed9cd016cbd9f7
  Author: Kiran Kumar T P <kirankumar.tp at amd.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/test/Semantics/omp-clause-validity01.f90

  Log Message:
  -----------
  [flang][OpenMP] Enhance parser support for flush construct to OpenMP 5.0

Summary:
This patch enhances parser support for flush construct to OpenMP 5.0 by including memory-order-clause.

2.18.8 flush Construct
        !$omp flush [memory-order-clause] [(list)]
                where memory-order-clause is
                acq_rel
                release
                acquire

The patch includes code changes and testcase modifications.

Reviewed By: klausler, kiranchandramohan

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




More information about the All-commits mailing list