Skip to content
Snippets Groups Projects
Commit 6f4f2332 authored by Devang Patel's avatar Devang Patel
Browse files

Fix typo.

llvm-svn: 41292
parent 544fdd27
No related branches found
No related tags found
No related merge requests found
...@@ -898,7 +898,7 @@ bool LoopIndexSplit::splitLoop(SplitInfo &SD) { ...@@ -898,7 +898,7 @@ bool LoopIndexSplit::splitLoop(SplitInfo &SD) {
BasicBlock *A_SplitCondBlock = SD.SplitCondition->getParent(); BasicBlock *A_SplitCondBlock = SD.SplitCondition->getParent();
BranchInst *A_BR = cast<BranchInst>(A_SplitCondBlock->getTerminator()); BranchInst *A_BR = cast<BranchInst>(A_SplitCondBlock->getTerminator());
BasicBlock *A_InactiveBranch = A_BR->getSuccessor(1); 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)); A_BR->setUnconditionalDest(A_BR->getSuccessor(0));
removeBlocks(A_InactiveBranch, L, A_ActiveBranch); removeBlocks(A_InactiveBranch, L, A_ActiveBranch);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment