[all-commits] [llvm/llvm-project] b96331: [MLIR][OpenMP] Add lowering support for AUTOMAP mo...
Akash Banerjee via All-commits
all-commits at lists.llvm.org
Mon Aug 4 08:28:58 PDT 2025
Branch: refs/heads/users/Akash/automap_pass
Home: https://github.com/llvm/llvm-project
Commit: b9633153c07b143c8a5136cabea33884ca4063f7
https://github.com/llvm/llvm-project/commit/b9633153c07b143c8a5136cabea33884ca4063f7
Author: Akash Banerjee <Akash.Banerjee at amd.com>
Date: 2025-08-04 (Mon, 04 Aug 2025)
Changed paths:
M flang/include/flang/Lower/OpenMP.h
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
M flang/lib/Optimizer/OpenMP/MarkDeclareTarget.cpp
M flang/test/Lower/OpenMP/common-block-map.f90
M flang/test/Lower/OpenMP/declare-target-data.f90
M flang/test/Lower/OpenMP/declare-target-deferred-marking.f90
M flang/test/Lower/OpenMP/declare-target-func-and-subr.f90
M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap-enter.f90
M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
M flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
M flang/test/Lower/OpenMP/declare-target-unnamed-main.f90
M flang/test/Lower/OpenMP/function-filtering-2.f90
M flang/test/Lower/OpenMP/omp-declare-target-program-var.f90
M mlir/include/mlir/Dialect/OpenMP/OpenMPAttrDefs.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
Log Message:
-----------
[MLIR][OpenMP] Add lowering support for AUTOMAP modifier
Add Automap modifier to the MLIR op definition for the DeclareTarget directive's Enter clause.
Also add lowering support in Flang.
Automap Ref: OpenMP 6.0 section 7.9.7.
Commit: a6e27692cd7bbb4cbae18feeb5e5b18920b33cc9
https://github.com/llvm/llvm-project/commit/a6e27692cd7bbb4cbae18feeb5e5b18920b33cc9
Author: Akash Banerjee <Akash.Banerjee at amd.com>
Date: 2025-08-04 (Mon, 04 Aug 2025)
Changed paths:
M flang/include/flang/Optimizer/OpenMP/Passes.td
A flang/lib/Optimizer/OpenMP/AutomapToTargetData.cpp
M flang/lib/Optimizer/OpenMP/CMakeLists.txt
M flang/lib/Optimizer/Passes/Pipelines.cpp
A flang/test/Transforms/omp-automap-to-target-data.fir
A offload/test/offloading/fortran/declare-target-automap.f90
Log Message:
-----------
[MLIR][OpenMP] Add a new AutomapToTargetData conversion pass in FIR
Add a new AutomapToTargetData pass. This gathers the declare target enter variables which have the AUTOMAP modifier.
And adds omp.declare_target_enter/exit mapping directives for fir.alloca and fir.free oeprations on the AUTOMAP enabled variables.
Compare: https://github.com/llvm/llvm-project/compare/b9633153c07b%5E...a6e27692cd7b
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list