Remove LiveIntervalUnions from RegAllocBase.

They are living in LiveRegMatrix now.

llvm-svn: 158868
This commit is contained in:
Jakob Stoklund Olesen
2012-06-20 22:52:29 +00:00
parent 96eebf0b14
commit 2d2dec96e0
4 changed files with 14 additions and 167 deletions

View File

@@ -169,7 +169,6 @@ void RABasic::getAnalysisUsage(AnalysisUsage &AU) const {
void RABasic::releaseMemory() {
SpillerInstance.reset(0);
RegAllocBase::releaseMemory();
}
@@ -287,8 +286,9 @@ bool RABasic::runOnMachineFunction(MachineFunction &mf) {
MF = &mf;
DEBUG(RMF = &getAnalysis<RenderMachineFunction>());
RegAllocBase::init(getAnalysis<VirtRegMap>(), getAnalysis<LiveIntervals>());
Matrix = &getAnalysis<LiveRegMatrix>();
RegAllocBase::init(getAnalysis<VirtRegMap>(),
getAnalysis<LiveIntervals>(),
getAnalysis<LiveRegMatrix>());
SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM));
allocatePhysRegs();