projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16adc23
)
Fix typo.
author
Devang Patel
<dpatel@apple.com>
Wed, 22 Aug 2007 20:55:18 +0000
(20:55 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 22 Aug 2007 20:55:18 +0000
(20:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41292
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopIndexSplit.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopIndexSplit.cpp
b/lib/Transforms/Scalar/LoopIndexSplit.cpp
index d6ba64060cbddda7a1a47970cd2afe0ef977d588..c84d75ac1ab118d4c016057920350ec363c84f6f 100644
(file)
--- a/
lib/Transforms/Scalar/LoopIndexSplit.cpp
+++ b/
lib/Transforms/Scalar/LoopIndexSplit.cpp
@@
-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);