Remove unneccesary pass.
authorChris Lattner <sabre@nondot.org>
Tue, 30 Apr 2002 20:53:05 +0000 (20:53 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 30 Apr 2002 20:53:05 +0000 (20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2421 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp

index 6f6ab2ade66a0baaa0e606eabd4083ed3e8153a0..7626e03c4e5f166e20d0878dac87c10a2b4de2db 100644 (file)
@@ -9,7 +9,6 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Transforms/Instrumentation/TraceValues.h"
 #include "llvm/Transforms/ChangeAllocations.h"
-#include "llvm/Transforms/HoistPHIConstants.h"
 #include "llvm/Transforms/Scalar/DecomposeMultiDimRefs.h"
 #include "llvm/Assembly/PrintModulePass.h"
 #include "llvm/Bytecode/WriteBytecodePass.h"
@@ -79,9 +78,6 @@ int main(int argc, char **argv) {
   // Build up all of the passes that we want to do to the module...
   PassManager Passes;
 
-  // Hoist constants out of PHI nodes into predecessor BB's
-  Passes.add(createHoistPHIConstantsPass());
-
   if (TraceValues != TraceOff) {   // If tracing enabled...
     // Insert trace code in all functions in the module
     if (TraceValues == TraceBasicBlocks)