[all-commits] [llvm/llvm-project] 211ed0: [Flang][OpenMP][Lower] Support lowering of `teams`...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Aug 15 05:38:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 211ed03bfd3421414b29cd4d1d959d51a38966a8
      https://github.com/llvm/llvm-project/commit/211ed03bfd3421414b29cd4d1d959d51a38966a8
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp
    A flang/test/Lower/OpenMP/Todo/reduction-teams.f90
    M flang/test/Lower/OpenMP/if-clause.f90
    A flang/test/Lower/OpenMP/teams.f90

  Log Message:
  -----------
  [Flang][OpenMP][Lower] Support lowering of `teams` directive to MLIR

This patch adds support for translating `teams` OpenMP directives to MLIR, when
appearing as either loop or block constructs and as part of combined constructs
or on its own.

The current Fortran parser does not allow the specification of the optional
lower bound for the "num_teams" clause, so only the `num_teams_upper` MLIR
argument is set by this patch.

Depends on D156809

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




More information about the All-commits mailing list