[all-commits] [llvm/llvm-project] 062fce: [Flang][OpenMP][MLIR] An mlir transformation pass ...
agozillon via All-commits
all-commits at lists.llvm.org
Mon Jul 17 06:32:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 062fce6f4dd142cf9275abb3358f88b61a2db4e8
https://github.com/llvm/llvm-project/commit/062fce6f4dd142cf9275abb3358f88b61a2db4e8
Author: Andrew Gozillon <Andrew.Gozillon at amd.com>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
A flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp
A flang/test/Lower/OpenMP/declare-target-data.f90
A flang/test/Lower/OpenMP/declare-target-func-and-subr.f90
A flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
A flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
A flang/test/Lower/OpenMP/host-ir-flag.f90
A flang/test/Lower/OpenMP/is-device.f90
R flang/test/Lower/OpenMP/omp-declare-target-data.f90
R flang/test/Lower/OpenMP/omp-declare-target-func-and-subr.f90
R flang/test/Lower/OpenMP/omp-host-ir-flag.f90
R flang/test/Lower/OpenMP/omp-is-device.f90
Log Message:
-----------
[Flang][OpenMP][MLIR] An mlir transformation pass for marking FuncOp's implicitly called from TargetOp's and declare target marked FuncOp's as implicitly declare target
This pass will mark functions called from TargetOp's
and declare target functions as implicitly declare
target by adding the MLIR declare target attribute
directly to the function.
This pass executes after the initial lowering of Fortran's PFT
to MLIR (FIR/OMP+Arith etc.) and is one of a series of passes
that aim to clean up the MLIR for offloading (seperate passes
in different patches, one for early outlining, another for declare
target function filtering).
Reviewers: jsjodin, skatrak, kiaranchandramohan
Differential Revision: https://reviews.llvm.org/D154247
More information about the All-commits
mailing list