mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
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:
@@ -397,7 +397,7 @@ void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) {
|
|||||||
std::vector<std::pair<unsigned, unsigned> > localInterferences;
|
std::vector<std::pair<unsigned, unsigned> > localInterferences;
|
||||||
processPHIUnion(P, PHIUnion, DF, localInterferences);
|
processPHIUnion(P, PHIUnion, DF, localInterferences);
|
||||||
|
|
||||||
// FIXME: Check for local interferences
|
// Check for local interferences
|
||||||
for (std::vector<std::pair<unsigned, unsigned> >::iterator I =
|
for (std::vector<std::pair<unsigned, unsigned> >::iterator I =
|
||||||
localInterferences.begin(), E = localInterferences.end(); I != E; ++I) {
|
localInterferences.begin(), E = localInterferences.end(); I != E; ++I) {
|
||||||
std::pair<unsigned, unsigned> p = *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());
|
ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
|
||||||
++P;
|
++P;
|
||||||
}
|
}
|
||||||
@@ -507,5 +509,8 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
|
|||||||
I->begin()->getOpcode() == TargetInstrInfo::PHI)
|
I->begin()->getOpcode() == TargetInstrInfo::PHI)
|
||||||
processBlock(I);
|
processBlock(I);
|
||||||
|
|
||||||
|
// FIXME: Insert copies
|
||||||
|
// FIXME: Perform renaming
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user