[llvm] [ThinLTO] Distinguish symbols that are promoted (PR #181946)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 18 12:11:49 PST 2026


================
@@ -27,7 +27,7 @@ define void @importer() {
 
 ; If somehow the caller doesn't get the attributes, we
 ; shouldn't propagate from the internal callee.
-; CHECK: define void @importer_noattr() {
+; CHECK: define void @importer_noattr() #0 {
----------------
mtrofin wrote:

those attributes that get copied in `llvm::thinLTOFinalizeInModule` get copied now :)

https://github.com/llvm/llvm-project/pull/181946


More information about the llvm-commits mailing list