diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp index 4493cad21b4..434b75bff65 100644 --- a/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -68,7 +68,7 @@ namespace { RegisterOpt X("loop-unswitch", "Unswitch loops"); } -FunctionPass *createLoopUnswitchPass() { return new LoopUnswitch(); } +FunctionPass *llvm::createLoopUnswitchPass() { return new LoopUnswitch(); } bool LoopUnswitch::runOnFunction(Function &F) { bool Changed = false;