[all-commits] [llvm/llvm-project] 763fdb: [OpenMP][Plugin] Update the global address calcula...

Shilei Tian via All-commits all-commits at lists.llvm.org
Sun Jul 23 14:41:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 763fdb1ffa31dda85d27bfdd4940e62ab560734f
      https://github.com/llvm/llvm-project/commit/763fdb1ffa31dda85d27bfdd4940e62ab560734f
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-07-23 (Sun, 23 Jul 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/GlobalHandler.cpp

  Log Message:
  -----------
  [OpenMP][Plugin] Update the global address calculation

Current global address caculation doesn't work for AMDGPU in some cases (https://reviews.llvm.org/D142569#4506212).
The root cause is the `sh_addr` is not substracted when caculating the address.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list