Note what still needs doing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2007-12-22 04:59:10 +00:00
parent 22c43b2988
commit cae8d8d4be

View File

@ -397,7 +397,7 @@ void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) {
std::vector<std::pair<unsigned, unsigned> > localInterferences;
processPHIUnion(P, PHIUnion, DF, localInterferences);
// FIXME: Check for local interferences
// Check for local interferences
for (std::vector<std::pair<unsigned, unsigned> >::iterator I =
localInterferences.begin(), E = localInterferences.end(); I != E; ++I) {
std::pair<unsigned, unsigned> p = *I;
@ -439,6 +439,8 @@ void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) {
}
}
// FIXME: Cache renaming information
ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
++P;
}
@ -507,5 +509,8 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
I->begin()->getOpcode() == TargetInstrInfo::PHI)
processBlock(I);
// FIXME: Insert copies
// FIXME: Perform renaming
return false;
}