forked from OSchip/llvm-project
[SCCP] Get rid of redundant call for getPredicateInfoFor (NFC).
We can use the result fetched a few lines above. llvm-svn: 349527
This commit is contained in:
parent
8434ef7d1e
commit
5c014037b3
|
@ -1172,7 +1172,7 @@ void SCCPSolver::visitCallSite(CallSite CS) {
|
|||
return;
|
||||
|
||||
Value *CopyOf = I->getOperand(0);
|
||||
auto *PBranch = dyn_cast<PredicateBranch>(getPredicateInfoFor(I));
|
||||
auto *PBranch = dyn_cast<PredicateBranch>(PI);
|
||||
if (!PBranch) {
|
||||
mergeInValue(ValueState[I], I, getValueState(CopyOf));
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue