diff options
| author | Owen Anderson <resistor@mac.com> | 2010-08-23 17:52:01 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2010-08-23 17:52:01 +0000 |
| commit | d31d82d75ccfc0995f42da8e01bcfcca287168e6 (patch) | |
| tree | d78cc314121d2ed2d51d2d2d1d0b4644f89d301c /llvm/lib/CodeGen/StrongPHIElimination.cpp | |
| parent | 0bf9c59d2f20510c7bca2b50bca2f17e2a65f460 (diff) | |
| download | bcm5719-llvm-d31d82d75ccfc0995f42da8e01bcfcca287168e6.tar.gz bcm5719-llvm-d31d82d75ccfc0995f42da8e01bcfcca287168e6.zip | |
Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API.
llvm-svn: 111815
Diffstat (limited to 'llvm/lib/CodeGen/StrongPHIElimination.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/StrongPHIElimination.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/StrongPHIElimination.cpp b/llvm/lib/CodeGen/StrongPHIElimination.cpp index 5e2d414a3ee..894dbfa28ba 100644 --- a/llvm/lib/CodeGen/StrongPHIElimination.cpp +++ b/llvm/lib/CodeGen/StrongPHIElimination.cpp @@ -150,9 +150,8 @@ namespace { } char StrongPHIElimination::ID = 0; -static RegisterPass<StrongPHIElimination> -X("strong-phi-node-elimination", - "Eliminate PHI nodes for register allocation, intelligently"); +INITIALIZE_PASS(StrongPHIElimination, "strong-phi-node-elimination", + "Eliminate PHI nodes for register allocation, intelligently", false, false); char &llvm::StrongPHIEliminationID = StrongPHIElimination::ID; |

