[llvm-commits] [llvm] r41292 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp
Devang Patel
dpatel at apple.com
Wed Aug 22 13:55:18 PDT 2007
Author: dpatel
Date: Wed Aug 22 15:55:18 2007
New Revision: 41292
URL: http://llvm.org/viewvc/llvm-project?rev=41292&view=rev
Log:
Fix typo.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp?rev=41292&r1=41291&r2=41292&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Wed Aug 22 15:55:18 2007
@@ -898,7 +898,7 @@
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);
More information about the llvm-commits
mailing list