1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

remove redundant test (mayBeOverriden() includes hasLinkOnceLinkage)

llvm-svn: 56786
This commit is contained in:
Nuno Lopes 2008-09-29 14:40:32 +00:00
parent 60dc0b5cbe
commit a4d69747c1

View File

@ -155,7 +155,7 @@ bool IPCP::PropagateConstantReturn(Function &F) {
// 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.mayBeOverridden())
if (F.mayBeOverridden())
return false;
// Check to see if this function returns a constant.