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:
parent
60dc0b5cbe
commit
a4d69747c1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user