diff options
| author | Misha Brukman <brukman+llvm@gmail.com> | 2005-05-05 23:45:17 +0000 |
|---|---|---|
| committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-05-05 23:45:17 +0000 |
| commit | 584ed83d4af7067a48d219437fedb77ee615dd3e (patch) | |
| tree | a0a5592300589ee685e023d87a3ca2bc6329191b /llvm/lib/CodeGen/PHIElimination.cpp | |
| parent | c0aac8e8587e5eab600cc7a331d5ee4479804e05 (diff) | |
| download | bcm5719-llvm-584ed83d4af7067a48d219437fedb77ee615dd3e.tar.gz bcm5719-llvm-584ed83d4af7067a48d219437fedb77ee615dd3e.zip | |
* Order #includes alphabetically
* Remove commented-out debug printouts
llvm-svn: 21707
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/PHIElimination.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index 218947020a4..7473c5c22f9 100644 --- a/llvm/lib/CodeGen/PHIElimination.cpp +++ b/llvm/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; } |

