[all-commits] [llvm/llvm-project] c171ed: [OpenMP] Fix the linkage for kernel environment gl...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Aug 3 18:33:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c171ed4693fb4fb9b5987e83ed2e5b200b7913ae
      https://github.com/llvm/llvm-project/commit/c171ed4693fb4fb9b5987e83ed2e5b200b7913ae
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir

  Log Message:
  -----------
  [OpenMP] Fix the linkage for kernel environment global variable

This patch fixes the issue that multiple definition of kernel environment global
variables can occur because of wrong linkage.

Fixes #64284.

Reviewed By: jhuber6

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




More information about the All-commits mailing list