Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API.
llvm-svn: 111815
This commit is contained in:
@@ -90,7 +90,7 @@ namespace {
|
||||
}
|
||||
|
||||
char LCSSA::ID = 0;
|
||||
static RegisterPass<LCSSA> X("lcssa", "Loop-Closed SSA Form Pass");
|
||||
INITIALIZE_PASS(LCSSA, "lcssa", "Loop-Closed SSA Form Pass", false, false);
|
||||
|
||||
Pass *llvm::createLCSSAPass() { return new LCSSA(); }
|
||||
char &llvm::LCSSAID = LCSSA::ID;
|
||||
|
||||
Reference in New Issue
Block a user