[all-commits] [llvm/llvm-project] 70db06: [ThinLTO] Don't convert functions to declarations ...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Sun Apr 6 07:37:42 PDT 2025
Branch: refs/heads/users/shiltian/dont-convert-to-decl-if-force-import-all
Home: https://github.com/llvm/llvm-project
Commit: 70db06f706a2443ed66ca6dda88268b9e302c271
https://github.com/llvm/llvm-project/commit/70db06f706a2443ed66ca6dda88268b9e302c271
Author: Shilei Tian <i at tianshilei.me>
Date: 2025-04-06 (Sun, 06 Apr 2025)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionImport.cpp
A llvm/test/ThinLTO/AMDGPU/Inputs/noinline.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
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