mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
Put createLoopUnswitchPass() into proper namespace
llvm-svn: 19306
This commit is contained in:
parent
a8574e28a3
commit
67f737e5d1
@ -68,7 +68,7 @@ namespace {
|
|||||||
RegisterOpt<LoopUnswitch> X("loop-unswitch", "Unswitch loops");
|
RegisterOpt<LoopUnswitch> X("loop-unswitch", "Unswitch loops");
|
||||||
}
|
}
|
||||||
|
|
||||||
FunctionPass *createLoopUnswitchPass() { return new LoopUnswitch(); }
|
FunctionPass *llvm::createLoopUnswitchPass() { return new LoopUnswitch(); }
|
||||||
|
|
||||||
bool LoopUnswitch::runOnFunction(Function &F) {
|
bool LoopUnswitch::runOnFunction(Function &F) {
|
||||||
bool Changed = false;
|
bool Changed = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user