mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
Clear split info object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -382,6 +382,7 @@ void LoopIndexSplit::findSplitCondition() {
|
|||||||
// Check all basic block's terminators.
|
// Check all basic block's terminators.
|
||||||
for (Loop::block_iterator I = L->block_begin(), E = L->block_end();
|
for (Loop::block_iterator I = L->block_begin(), E = L->block_end();
|
||||||
I != E; ++I) {
|
I != E; ++I) {
|
||||||
|
SD.clear();
|
||||||
BasicBlock *BB = *I;
|
BasicBlock *BB = *I;
|
||||||
|
|
||||||
// If this basic block does not terminate in a conditional branch
|
// If this basic block does not terminate in a conditional branch
|
||||||
|
|||||||
Reference in New Issue
Block a user