[all-commits] [llvm/llvm-project] f4fc2d: [flang][OpenMP] Map ByRef if size/alignment exceed...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Mar 12 17:41:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4fc2d731c1b351d5f684f7ec53a0e1ca549df43
      https://github.com/llvm/llvm-project/commit/f4fc2d731c1b351d5f684f7ec53a0e1ca549df43
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    A flang/test/Lower/OpenMP/target-map-complex.f90
    A offload/test/offloading/fortran/target-map-literal-write.f90

  Log Message:
  -----------
  [flang][OpenMP] Map ByRef if size/alignment exceed that of a pointer (#130832)

Improve the check for whether a type can be passed by copy. Currently,
passing by copy is done via the OMP_MAP_LITERAL mapping, which can only
transfer as much data as can be contained in a pointer representation.



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