From d7a10c8566c1f2e979f8f3abcaab441297a0c44c Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 5 May 2005 23:45:17 +0000 Subject: [PATCH] * Order #includes alphabetically * Remove commented-out debug printouts git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21707 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/PHIElimination.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp index 218947020a4..7473c5c22f9 100644 --- a/lib/CodeGen/PHIElimination.cpp +++ b/lib/CodeGen/PHIElimination.cpp @@ -13,11 +13,11 @@ // //===----------------------------------------------------------------------===// +#include "llvm/CodeGen/LiveVariables.h" #include "llvm/CodeGen/Passes.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/SSARegMap.h" -#include "llvm/CodeGen/LiveVariables.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" #include "llvm/ADT/DenseMap.h" @@ -30,12 +30,9 @@ namespace { bool Changed = false; // Eliminate PHI instructions by inserting copies into predecessor blocks. - // for (MachineFunction::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) Changed |= EliminatePHINodes(Fn, *I); - //std::cerr << "AFTER PHI NODE ELIM:\n"; - //Fn.dump(); return Changed; }