diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index 4255cd2553b7..1bb3e3423d49 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -2402,7 +2402,6 @@ bool llvm::verifyFunction(const Function &f, VerifierFailureAction action) { FPM.add(V); FPM.doInitialization(); FPM.run(F); - FPM.doFinalization(); return V->Broken; }