[llvm-commits] [llvm] r45310 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Owen Anderson
resistor at mac.com
Fri Dec 21 20:59:11 PST 2007
Author: resistor
Date: Fri Dec 21 22:59:10 2007
New Revision: 45310
URL: http://llvm.org/viewvc/llvm-project?rev=45310&view=rev
Log:
Note what still needs doing.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp?rev=45310&r1=45309&r2=45310&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp (original)
+++ llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Fri Dec 21 22:59:10 2007
@@ -397,7 +397,7 @@
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 @@
}
}
+ // FIXME: Cache renaming information
+
ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
++P;
}
@@ -507,5 +509,8 @@
I->begin()->getOpcode() == TargetInstrInfo::PHI)
processBlock(I);
+ // FIXME: Insert copies
+ // FIXME: Perform renaming
+
return false;
}
More information about the llvm-commits
mailing list