[all-commits] [llvm/llvm-project] 001cf0: Revert "[AMDGPU][LTO] Assume closed world after li...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Sat Aug 31 23:11:36 PDT 2024
Branch: refs/heads/users/shiltian/no-closed-world
Home: https://github.com/llvm/llvm-project
Commit: 001cf044e59dc02d3ee7b12d6f0ca4207cfb8cb2
https://github.com/llvm/llvm-project/commit/001cf044e59dc02d3ee7b12d6f0ca4207cfb8cb2
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-09-01 (Sun, 01 Sep 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
R llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
Log Message:
-----------
Revert "[AMDGPU][LTO] Assume closed world after linking (#105845)"
We can't assume closed world even in full LTO post-link stage. It is only true
if we are building a "GPU executable". However, AMDGPU does support "dyamic
library". I'm not aware of any approach to tell if it is relocatable link when
we create the pass. For now let's revert the patch. We can re-enable it once we
can handle it correctly.
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