[PATCH] D10941: IR: Do not consider available_externally linkage to be linker-weak.

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sun Jul 5 04:13:45 PDT 2015


rafael added a subscriber: rafael.
rafael accepted this revision.
rafael added a reviewer: rafael.

This revision is now accepted and ready to land.

LGTM with a nit


================
Comment at: lib/Transforms/IPO/DeadArgumentElimination.cpp:340
@@ -330,1 +339,3 @@
+  // }
+  if (Fn.isDeclarationForLinker() || Fn.isWeakForLinker())
     return false;
----------------
! isStrongDefinitionForLinker


http://reviews.llvm.org/D10941







More information about the llvm-commits mailing list