diff options
author | Owen Anderson <resistor@mac.com> | 2007-12-22 04:59:10 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-12-22 04:59:10 +0000 |
commit | 5a4c05d047c66cffaefe4ffde27d7b44c4692719 (patch) | |
tree | 79c5005ebb24b483457ea3f9376ed0620fe095a8 /llvm/lib/CodeGen | |
parent | 45341007658dea4252992e1bd39464cf848b7099 (diff) | |
download | bcm5719-llvm-5a4c05d047c66cffaefe4ffde27d7b44c4692719.tar.gz bcm5719-llvm-5a4c05d047c66cffaefe4ffde27d7b44c4692719.zip |
Note what still needs doing.
llvm-svn: 45310
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/StrongPHIElimination.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StrongPHIElimination.cpp b/llvm/lib/CodeGen/StrongPHIElimination.cpp index 900a890e93a..600d8590a9b 100644 --- a/llvm/lib/CodeGen/StrongPHIElimination.cpp +++ b/llvm/lib/CodeGen/StrongPHIElimination.cpp @@ -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; } |