[all-commits] [llvm/llvm-project] 89efae: [Flang][OpenMP] Update default MapType for Map Cla...

Jack Styles via All-commits all-commits at lists.llvm.org
Thu Jun 19 07:32:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89efae916a5de0387710b7dc06938423817e1503
      https://github.com/llvm/llvm-project/commit/89efae916a5de0387710b7dc06938423817e1503
  Author: Jack Styles <jack.styles at arm.com>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    A flang/test/Lower/OpenMP/target-enter-data-default-openmp52.f90

  Log Message:
  -----------
  [Flang][OpenMP] Update default MapType for Map Clauses and OpenMP 5.2 (#144715)

In OpenMP 5.2, the `target enter data` and `target exit data` constructs
now have default map types if the user does not define them in the Map
clause. For `target enter data`, this is `to` and `target exit data`
this is `from`. This behaviour is now enabled when OpenMP 5.2 or greater
is used when compiling. To enable this, the default value is now set in
the `processMap` clause, with any previous behaviour being maintained
for either older versions of OpenMP or other directives.

See also #110008



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