Fix typo.

llvm-svn: 41292
This commit is contained in:
Devang Patel 2007-08-22 20:55:18 +00:00
parent 544fdd27fb
commit 6f4f23320d
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ bool LoopIndexSplit::splitLoop(SplitInfo &SD) {
BasicBlock *A_SplitCondBlock = SD.SplitCondition->getParent();
BranchInst *A_BR = cast<BranchInst>(A_SplitCondBlock->getTerminator());
BasicBlock *A_InactiveBranch = A_BR->getSuccessor(1);
BasicBlock *A_ActiveBranch = A_BR->getSuccessor(1);
BasicBlock *A_ActiveBranch = A_BR->getSuccessor(0);
A_BR->setUnconditionalDest(A_BR->getSuccessor(0));
removeBlocks(A_InactiveBranch, L, A_ActiveBranch);