forked from OSchip/llvm-project
SimplifyCFG.cpp - remove dead early-return code added at rGcc63203908da. NFCI.
We've already checked that ScanIdx == 0 a few lines above.
This commit is contained in:
parent
5fc8cdcb03
commit
9ced408fe9
|
@ -2059,10 +2059,6 @@ static bool SinkCommonCodeFromPredecessors(BasicBlock *BB,
|
|||
return NumPHIInsts <= 1;
|
||||
};
|
||||
|
||||
// If no instructions can be sunk, early-return.
|
||||
if (ScanIdx == 0)
|
||||
return false;
|
||||
|
||||
// We've determined that we are going to sink last ScanIdx instructions,
|
||||
// and recorded them in InstructionsToSink. Now, some instructions may be
|
||||
// unprofitable to sink. But that determination depends on the instructions
|
||||
|
|
Loading…
Reference in New Issue