From: Owen Anderson Date: Sat, 22 Dec 2007 04:59:10 +0000 (+0000) Subject: Note what still needs doing. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cae8d8d4bebd0517c16145cf3bc3304e8eadad6b;p=oota-llvm.git Note what still needs doing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45310 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp index 900a890e93a..600d8590a9b 100644 --- a/lib/CodeGen/StrongPHIElimination.cpp +++ b/lib/CodeGen/StrongPHIElimination.cpp @@ -397,7 +397,7 @@ void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) { std::vector > localInterferences; processPHIUnion(P, PHIUnion, DF, localInterferences); - // FIXME: Check for local interferences + // Check for local interferences for (std::vector >::iterator I = localInterferences.begin(), E = localInterferences.end(); I != E; ++I) { std::pair 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; }