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

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Jun 19 11:32:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 633e740e3453bab06bf535830174c759100257f9
      https://github.com/llvm/llvm-project/commit/633e740e3453bab06bf535830174c759100257f9
  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 (#144914)

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