https://github.com/mtrofin created 
https://github.com/llvm/llvm-project/pull/181080

None

>From 82373f64744732c418b992ec4abfb5d11c691f1d Mon Sep 17 00:00:00 2001
From: Mircea Trofin <[email protected]>
Date: Wed, 11 Feb 2026 19:21:09 -0800
Subject: [PATCH] [NFC] `CfiFunctions` are relevant when promoting from the
 original module only

---
 llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 
b/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
index d1dc8164d1b46..60c65bd8bbf48 100644
--- a/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+++ b/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
@@ -411,7 +411,7 @@ void splitAndWriteThinLTOBitcode(
     return true;
   });
 
-  promoteInternals(*MergedM, M, ModuleId, CfiFunctions);
+  promoteInternals(*MergedM, M, ModuleId, {});
   promoteInternals(M, *MergedM, ModuleId, CfiFunctions);
 
   auto &Ctx = MergedM->getContext();

_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to