[all-commits] [llvm/llvm-project] f2c2e0: [OpenMP]Update use_device_clause lowering

Akash Banerjee via All-commits all-commits at lists.llvm.org
Tue Aug 6 09:28:50 PDT 2024


  Branch: refs/heads/users/akash/use-device-lowering-1
  Home:   https://github.com/llvm/llvm-project
  Commit: f2c2e0ae42899c590e66673ef7727725ee8ba3da
      https://github.com/llvm/llvm-project/commit/f2c2e0ae42899c590e66673ef7727725ee8ba3da
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
    M flang/test/Lower/OpenMP/target.f90
    M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90

  Log Message:
  -----------
  [OpenMP]Update use_device_clause lowering

This patch updates the use_device_ptr and use_device_addr clauses to use the mapInfoOps for lowering. This allows all the types that are handle by the map clauses such as derived types to also be supported by the use_device_clauses.

This is patch 1/2 in a series of patches.

Co-authored-by: Raghu Maddhipatla raghu.maddhipatla at amd.com


  Commit: 74535f54cf2066464a2f9335ef0b48b0f4e12b39
      https://github.com/llvm/llvm-project/commit/74535f54cf2066464a2f9335ef0b48b0f4e12b39
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90

  Log Message:
  -----------
  Addressed reviewer comments.


Compare: https://github.com/llvm/llvm-project/compare/d9962779563e...74535f54cf20

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