mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
eliminate RegisterOpt. It does the same thing as RegisterPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -103,7 +103,7 @@ namespace {
|
||||
std::vector<Instruction*> &Worklist);
|
||||
void RemoveLoopFromHierarchy(Loop *L);
|
||||
};
|
||||
RegisterOpt<LoopUnswitch> X("loop-unswitch", "Unswitch loops");
|
||||
RegisterPass<LoopUnswitch> X("loop-unswitch", "Unswitch loops");
|
||||
}
|
||||
|
||||
FunctionPass *llvm::createLoopUnswitchPass() { return new LoopUnswitch(); }
|
||||
|
Reference in New Issue
Block a user