[all-commits] [llvm/llvm-project] b8e307: [Clang][OpenMP] Fix the issue that list items in `...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu May 25 17:19:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8e3077d60de73ddcb1511a68af3fdd37fe81cf7
      https://github.com/llvm/llvm-project/commit/b8e3077d60de73ddcb1511a68af3fdd37fe81cf7
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    A clang/test/OpenMP/bug59160.c

  Log Message:
  -----------
  [Clang][OpenMP] Fix the issue that list items in `has_device_addr` are still mapped to the target device

This patch fixes the issue that list items in `has_device_addr` are still mapped
to the target device because front end emits map type `OMP_MAP_TO`.

Fix #59160.

Reviewed By: jyu2

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




More information about the All-commits mailing list