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:
4f12c5f
)
Clear split info object.
author
Devang Patel
<dpatel@apple.com>
Tue, 11 Sep 2007 00:23:56 +0000
(
00:23
+0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 11 Sep 2007 00:23:56 +0000
(
00:23
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41823
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 f4be5ddef9c749e22a54879b5b37a2ce5d7da397..abda03ca0a43c2c906384d66e6ded1f7830aa1a3 100644
(file)
--- a/
lib/Transforms/Scalar/LoopIndexSplit.cpp
+++ b/
lib/Transforms/Scalar/LoopIndexSplit.cpp
@@
-382,6
+382,7
@@
void LoopIndexSplit::findSplitCondition() {
// Check all basic block's terminators.
for (Loop::block_iterator I = L->block_begin(), E = L->block_end();
I != E; ++I) {
+ SD.clear();
BasicBlock *BB = *I;
// If this basic block does not terminate in a conditional branch