mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
Run computeDomForest() on the set of registers that need to be tested for
interference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -285,14 +285,15 @@ void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) {
|
|||||||
} else {
|
} else {
|
||||||
PHIUnion.insert(SrcReg);
|
PHIUnion.insert(SrcReg);
|
||||||
UnionedBlocks.insert(SrcInfo.DefInst->getParent());
|
UnionedBlocks.insert(SrcInfo.DefInst->getParent());
|
||||||
|
|
||||||
// DO STUFF HERE
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<StrongPHIElimination::DomForestNode*> DF =
|
||||||
|
computeDomForest(PHIUnion);
|
||||||
|
|
||||||
|
// DO STUFF HERE
|
||||||
|
|
||||||
|
ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
|
||||||
++P;
|
++P;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user