[all-commits] [llvm/llvm-project] bf7b93: [Clang][AMDGPU][Driver] Add `avail-extern-gv-in-ad...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Jun 19 08:22:28 PDT 2025


  Branch: refs/heads/users/shiltian/amdgpu-thinlto-privatize-lds-global-variable
  Home:   https://github.com/llvm/llvm-project
  Commit: bf7b936421379ae7e043360c6515136660e2e550
      https://github.com/llvm/llvm-project/commit/bf7b936421379ae7e043360c6515136660e2e550
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/HIPAMD.cpp
    M clang/test/Driver/hip-thinlto.hip
    M clang/test/Driver/openmp-offload-gpu.c

  Log Message:
  -----------
  [Clang][AMDGPU][Driver] Add `avail-extern-gv-in-addrspace-to-local` option when ThinTLO is enabled

On AMDGPU, we need an extra argument `-avail-extern-gv-in-addrspace-to-local=3`
to privatize LDS global variables when ThinLTO is enabled.



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