From 2149470b6aca57e9ca2b7fb80416932ca75bbff7 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 28 Oct 2008 00:36:04 +0000 Subject: Don't run the verifier as part of IRgen, this is now down (per module) in the driver (this means we no longer run the verifier per function, however). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58307 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.cpp') diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index aaca21bab3..2ca893fb41 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -25,7 +25,6 @@ #include "llvm/Module.h" #include "llvm/Intrinsics.h" #include "llvm/Target/TargetData.h" -#include "llvm/Analysis/Verifier.h" using namespace clang; using namespace CodeGen; @@ -64,11 +63,6 @@ void CodeGenModule::Release() { EmitCtorList(GlobalDtors, "llvm.global_dtors"); EmitAnnotations(); BindRuntimeFunctions(); - // Run the verifier to check that the generated code is consistent. - if (verifyModule(TheModule, llvm::PrintMessageAction)) { - TheModule.dump(); - assert(0 && "Module failed verification!"); - } } void CodeGenModule::BindRuntimeFunctions() { -- cgit v1.2.3-18-g5258