[all-commits] [llvm/llvm-project] b0fede: [ThinLTO] Don't convert functions to declarations ...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Sat Apr 12 15:22:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0fede358fea768ead2dc5d59ad0b6b2decc4217
https://github.com/llvm/llvm-project/commit/b0fede358fea768ead2dc5d59ad0b6b2decc4217
Author: Shilei Tian <i at tianshilei.me>
Date: 2025-04-12 (Sat, 12 Apr 2025)
Changed paths:
M llvm/lib/LTO/LTO.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
A llvm/test/ThinLTO/AMDGPU/Inputs/in-f1.ll
A llvm/test/ThinLTO/AMDGPU/force-import-all.ll
A llvm/test/ThinLTO/AMDGPU/lit.local.cfg
Log Message:
-----------
[ThinLTO] Don't convert functions to declarations if `force-import-all` is enabled (#134541)
On one hand, we intend to force import all functions when the option is
enabled.
On the other hand, we currently drop definitions of some functions and
convert
them to declarations, which contradicts this intent.
With this PR, functions will no longer be converted to declarations when
`force-import-all` 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