forked from OSchip/llvm-project
parent
152f18f671
commit
2af23f976b
|
@ -632,8 +632,8 @@ void LoopUnswitch::ReplaceLoopExternalDFMember(Loop *L, BasicBlock *BB,
|
|||
|
||||
DominanceFrontier::DomSetType &DFSet = DFI->second;
|
||||
for (DominanceFrontier::DomSetType::iterator DI = DFSet.begin(),
|
||||
DE = DFSet.end(); DI != DE; ++DI) {
|
||||
BasicBlock *B = *DI;
|
||||
DE = DFSet.end(); DI != DE;) {
|
||||
BasicBlock *B = *DI++;
|
||||
if (L->contains(B))
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue