[all-commits] [llvm/llvm-project] 80b8e6: [AMDGPU] Re-enable closed-world assumption as an o...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Tue Dec 10 09:54:38 PST 2024
Branch: refs/heads/users/shiltian/closed-world-assumption-opt-in-by-default
Home: https://github.com/llvm/llvm-project
Commit: 80b8e6be3bbeb1da09ac96ac9421df69a7b1a20a
https://github.com/llvm/llvm-project/commit/80b8e6be3bbeb1da09ac96ac9421df69a7b1a20a
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-12-10 (Tue, 10 Dec 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
A llvm/test/LTO/AMDGPU/closed-world-assumption.ll
Log Message:
-----------
[AMDGPU] Re-enable closed-world assumption as an opt-out feature
Although the ABI (if any exists) doesn’t explicitly prohibit cross-device-image
function calls, especially since our loader can handle them, for all officially
supported programming models, this is not actually allowed. Given this, assuming
a closed-world model at link time is safe. However, there are certain cases,
such as the GPU libc project, that use non-standard approaches which could break
this assumption. This PR introduces an option to disable this assumption when
needed.
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