summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/IfConversion.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/IfConversion.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/IfConversion.cpp')
-rw-r--r--llvm/lib/CodeGen/IfConversion.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index 6b445e0b8e0..6c064a74cd0 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/lib/CodeGen/IfConversion.cpp
@@ -230,8 +230,7 @@ namespace {
char IfConverter::ID = 0;
}
-static RegisterPass<IfConverter>
-X("if-converter", "If Converter");
+INITIALIZE_PASS(IfConverter, "if-converter", "If Converter", false, false);
FunctionPass *llvm::createIfConverterPass() { return new IfConverter(); }
OpenPOWER on IntegriCloud