diff --git a/lib/Transforms/Scalar/JumpThreading.cpp b/lib/Transforms/Scalar/JumpThreading.cpp index e7957f9599a8..bb3352c91a40 100644 --- a/lib/Transforms/Scalar/JumpThreading.cpp +++ b/lib/Transforms/Scalar/JumpThreading.cpp @@ -153,7 +153,7 @@ PreservedAnalyses JumpThreadingPass::run(Function &F, PreservedAnalyses PA; PA.preserve(); PA.preserve(); - return PreservedAnalyses::none(); + return PA; } bool JumpThreadingPass::runImpl(Function &F, TargetLibraryInfo *TLI_,