summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineLICM.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-21 22:09:45 +0000
committerOwen Anderson <resistor@mac.com>2010-07-21 22:09:45 +0000
commita57b97e7e7d4bd44ebc90c743e6db318fa5348d6 (patch)
tree9064f2c1398c305ffb7d95bbe8aafdb1629cdf96 /llvm/lib/CodeGen/MachineLICM.cpp
parent26d0aa19d4dfe2c4250a02dc1df9d6097c45ab05 (diff)
downloadbcm5719-llvm-a57b97e7e7d4bd44ebc90c743e6db318fa5348d6.tar.gz
bcm5719-llvm-a57b97e7e7d4bd44ebc90c743e6db318fa5348d6.zip
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
llvm-svn: 109045
Diffstat (limited to 'llvm/lib/CodeGen/MachineLICM.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineLICM.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp
index 9409d88baf6..ee498479488 100644
--- a/llvm/lib/CodeGen/MachineLICM.cpp
+++ b/llvm/lib/CodeGen/MachineLICM.cpp
@@ -189,8 +189,8 @@ namespace {
} // end anonymous namespace
char MachineLICM::ID = 0;
-static RegisterPass<MachineLICM>
-X("machinelicm", "Machine Loop Invariant Code Motion");
+INITIALIZE_PASS(MachineLICM, "machinelicm",
+ "Machine Loop Invariant Code Motion", false, false);
FunctionPass *llvm::createMachineLICMPass(bool PreRegAlloc) {
return new MachineLICM(PreRegAlloc);
OpenPOWER on IntegriCloud