[all-commits] [llvm/llvm-project] e9b676: [MLIR][OpenMP] Add a new AutomapToTargetData conve...

Akash Banerjee via All-commits all-commits at lists.llvm.org
Thu Aug 7 10:20:22 PDT 2025


  Branch: refs/heads/users/Akash/automap_pass
  Home:   https://github.com/llvm/llvm-project
  Commit: e9b6766c5fbfd25b5acfc686cbdc41f8dd727b03
      https://github.com/llvm/llvm-project/commit/e9b6766c5fbfd25b5acfc686cbdc41f8dd727b03
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-08-07 (Thu, 07 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.


  Commit: dc1232dffade598f44ff4df2155cf852b056a2cb
      https://github.com/llvm/llvm-project/commit/dc1232dffade598f44ff4df2155cf852b056a2cb
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-08-07 (Thu, 07 Aug 2025)

  Changed paths:
    M flang/include/flang/Support/OpenMP-utils.h
    M flang/lib/Optimizer/OpenMP/AutomapToTargetData.cpp
    M flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp
    M flang/lib/Optimizer/Passes/Pipelines.cpp

  Log Message:
  -----------
  Address reviewer comments.


Compare: https://github.com/llvm/llvm-project/compare/9f050593054e...dc1232dffade

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