From d31d82d75ccfc0995f42da8e01bcfcca287168e6 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Mon, 23 Aug 2010 17:52:01 +0000 Subject: Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API. llvm-svn: 111815 --- llvm/lib/Transforms/Utils/LoopSimplify.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp') diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp index 71bbc72001b..2f0a175d5cd 100644 --- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp +++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp @@ -105,8 +105,8 @@ namespace { } char LoopSimplify::ID = 0; -static RegisterPass -X("loopsimplify", "Canonicalize natural loops", true); +INITIALIZE_PASS(LoopSimplify, "loopsimplify", + "Canonicalize natural loops", true, false); // Publically exposed interface to pass... char &llvm::LoopSimplifyID = LoopSimplify::ID; -- cgit v1.2.3