[all-commits] [llvm/llvm-project] 3d0b76: [flang][OpenMP] upstream OpenMP lowering

Sourabh Singh Tomar via All-commits all-commits at lists.llvm.org
Tue Jul 14 05:32:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d0b76022df60a8ceaa2198012d67eab3ec3a2d9
      https://github.com/llvm/llvm-project/commit/3d0b76022df60a8ceaa2198012d67eab3ec3a2d9
  Author: Sourabh Singh Tomar <SourabhSingh.Tomar at amd.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M flang/include/flang/Lower/OpenMP.h
    M flang/include/flang/Optimizer/Dialect/FIRDialect.h
    M flang/lib/Lower/OpenMP.cpp
    M flang/unittests/CMakeLists.txt
    A flang/unittests/Lower/CMakeLists.txt
    A flang/unittests/Lower/OpenMPLoweringTest.cpp

  Log Message:
  -----------
  [flang][OpenMP] upstream OpenMP lowering

Summary:
This patch implements lowering of OpenMP barrier construct from
pft to OpenMPDialect.

Patch is carved out of following merged PR's from fir-dev branch
of https://github.com/flang-compiler/f18-llvm-project/

PR's:
https://github.com/flang-compiler/f18-llvm-project/pull/248
https://github.com/flang-compiler/f18-llvm-project/pull/251

Unfortunately primary tool `bbc` for functional validation is not
yet upstreamed. So this patch includes a unittest for lowering
`!OMP barrier` construct.

Some part of the these PR's still remains downstream(functional test
and dialect registration to legalizer) for obvious reasons.
Will upstream them when the dependencies are upstreamed.

Reviewed By: schweitz, kiranchandramohan

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




More information about the All-commits mailing list