[all-commits] [llvm/llvm-project] 148b10: [flang][OpenMP] Support custom mappers in target u...

Krish Gupta via All-commits all-commits at lists.llvm.org
Mon Mar 2 08:30:19 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 148b10be8ad3dad0aeabf6845cc9468f42de820f
      https://github.com/llvm/llvm-project/commit/148b10be8ad3dad0aeabf6845cc9468f42de820f
  Author: Krish Gupta <krishom70 at gmail.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Lower/OpenMP/declare-mapper.f90
    A flang/test/Semantics/OpenMP/target-update-mapper.f90
    A offload/test/offloading/fortran/target-update-custom-mapper.f90

  Log Message:
  -----------
  [flang][OpenMP] Support custom mappers in target update to/from clauses (#169673)

Implement support for the OpenMP `mapper` modifier on `target update` `to` and
`from` clauses in Flang.

Semantic name resolution is extended to bind the mapper symbol for
`OmpClause::To` and `OmpClause::From` via a shared `ResolveMapperModifier`
helper. Lowering is extended in `ClauseProcessor` with a `getMapperIdentifier`
template helper to extract the mapper name for both `map` and `target update`
clauses and forward it to `omp.map_info`.

Fixes #168701.

Reviewed By: TIFitis, kparzysz
Assited By: Copilot( For review and articulations of messages)



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