Revert r94066, which was the patch which added a Verifier pass after
authorDan Gohman <gohman@apple.com>
Fri, 22 Jan 2010 10:48:28 +0000 (10:48 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 22 Jan 2010 10:48:28 +0000 (10:48 +0000)
LoopStrengthReduce, as it's causing too much trouble (even with the
old LoopStrengthReduce code).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94172 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LLVMTargetMachine.cpp

index c761f8dd9279a114b4a45e33a00290da4a19517b..837e1848aa508a01f882315afc395c1d3ba8ecfa 100644 (file)
@@ -14,7 +14,6 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/PassManager.h"
 #include "llvm/Pass.h"
-#include "llvm/Analysis/Verifier.h"
 #include "llvm/Assembly/PrintModulePass.h"
 #include "llvm/CodeGen/AsmPrinter.h"
 #include "llvm/CodeGen/Passes.h"
@@ -283,9 +282,6 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
     PM.add(createLoopStrengthReducePass(getTargetLowering()));
     if (PrintLSR)
       PM.add(createPrintFunctionPass("\n\n*** Code after LSR ***\n", &dbgs()));
-#ifndef NDEBUG
-    PM.add(createVerifierPass());
-#endif
   }
 
   // Turn exception handling constructs into something the code generators can