[llvm] [CodeGen] Port selection dag isel to new pass manager (PR #83567)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 15:33:20 PST 2024


================
@@ -79,7 +79,7 @@ ModuleToMachineFunctionPassAdaptor::run(Module &M, ModuleAnalysisManager &AM) {
   for (Function &F : M) {
     // Do not codegen any 'available_externally' functions at all, they have
     // definitions outside the translation unit.
-    if (F.hasAvailableExternallyLinkage())
+    if (F.hasAvailableExternallyLinkage() || F.isDeclaration())
----------------
aeubanks wrote:

this should be committed separately

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


More information about the llvm-commits mailing list