Clear split info object.

llvm-svn: 41823
This commit is contained in:
Devang Patel 2007-09-11 00:23:56 +00:00
parent a28a7f1b2d
commit d67479b6ee
1 changed files with 1 additions and 0 deletions

View File

@ -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