[llvm-commits] [llvm] r52137 - in /llvm/trunk: lib/Transforms/IPO/IPConstantPropagation.cpp test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll

Duncan Sands baldrick at free.fr
Mon Jun 9 01:39:08 PDT 2008

Hi Chris,

> +  // If this function could be overridden later in the link stage, we can't
> +  // propagate information about its results into callers.
> +  if (F.hasLinkOnceLinkage() || F.hasWeakLinkage())
> +    return false;

what is LinkOnceLinkage?  Does this mean that places that need to
take care with weak linkage need to worry about link once linkage
too?  If so, perhaps there should be a method for determining if
a function body is reliable or not.



More information about the llvm-commits mailing list