mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Update comments to reflect reality.
llvm-svn: 139023
This commit is contained in:
parent
a93f292add
commit
3033d7846d
@ -1574,8 +1574,7 @@ bool InstCombiner::DoOneIteration(Function &F, unsigned Iteration) {
|
||||
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
||||
if (Visited.count(BB)) continue;
|
||||
|
||||
// Delete the instructions backwards, as it has a reduced likelihood of
|
||||
// having to update as many def-use and use-def chains.
|
||||
// Delete the instructions.
|
||||
for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ) {
|
||||
Instruction *Inst = &*I++;
|
||||
if (isa<TerminatorInst>(Inst))
|
||||
|
@ -1686,8 +1686,7 @@ static void DeleteInstructionInBlock(BasicBlock *BB) {
|
||||
if (isa<TerminatorInst>(BB->begin()))
|
||||
return;
|
||||
|
||||
// Delete the instructions backwards, as it has a reduced likelihood of
|
||||
// having to update as many def-use and use-def chains.
|
||||
// Delete the instructions.
|
||||
for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ) {
|
||||
Instruction *Inst = &*I++;
|
||||
if (isa<TerminatorInst>(Inst))
|
||||
|
Loading…
Reference in New Issue
Block a user