[all-commits] [llvm/llvm-project] da5e96: [Flang][OpenMP][Lower] Support PFT to MLIR lowerin...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Aug 15 04:57:03 PDT 2023


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

  Changed paths:
    M flang/include/flang/Semantics/openmp-directive-sets.h
    M flang/lib/Lower/OpenMP.cpp
    A flang/test/Lower/OpenMP/if-clause.f90
    A flang/test/Lower/OpenMP/loop-combined.f90
    M flang/test/Lower/OpenMP/target.f90

  Log Message:
  -----------
  [Flang][OpenMP][Lower] Support PFT to MLIR lowering of loop-attached target constructs

This patch adds support for lowering target-related combined constructs from
PFT to MLIR. The lowering of OpenMP loop constructs is generalized in
preparation for later supporting different combinations of target, teams,
distribute, parallel and simd directives.

Currently enabled by this patch are the following combined constructs:
- do simd
- parallel do simd
- target parallel do simd
- target parallel do
- target simd

Depends on D155981 and D157090.

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




More information about the All-commits mailing list