[all-commits] [llvm/llvm-project] 69ca50: [OpenMP] Pass mapping names to add components in a...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Apr 1 12:52:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69ca50bd7dfdb54aab8b0b262df635e25cf6baf0
      https://github.com/llvm/llvm-project/commit/69ca50bd7dfdb54aab8b0b262df635e25cf6baf0
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/test/OpenMP/target_map_names.cpp

  Log Message:
  -----------
  [OpenMP] Pass mapping names to add components in a user defined mapper

Summary:
Currently the mapping names are not passed to the mapper components that set up
the array region. This means array mappings will not have their names availible
in the runtime. This patch fixes this by passing the argument name to the region
correctly. This means that the mapped variable's name will be the declared
mapper that placed it on the device.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D99681




More information about the All-commits mailing list