From 5a4c05d047c66cffaefe4ffde27d7b44c4692719 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Sat, 22 Dec 2007 04:59:10 +0000 Subject: [PATCH] Note what still needs doing. llvm-svn: 45310 --- llvm/lib/CodeGen/StrongPHIElimination.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/StrongPHIElimination.cpp b/llvm/lib/CodeGen/StrongPHIElimination.cpp index 900a890e93ab..600d8590a9bd 100644 --- a/llvm/lib/CodeGen/StrongPHIElimination.cpp +++ b/llvm/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; }