Remove this pass as its no longer needed.

llvm-svn: 18783
This commit is contained in:
Reid Spencer 2004-12-10 22:55:35 +00:00
parent 808f19c775
commit 388d091dde

View File

@ -163,9 +163,6 @@ void Optimize(Module* M) {
// Cleanup and simplify the code after the scalar optimizations.
addPass(Passes, createInstructionCombiningPass());
// Delete basic blocks, which optimization passes may have killed...
addPass(Passes, createCFGSimplificationPass());
// Now that we have optimized the program, discard unreachable functions...
addPass(Passes, createGlobalDCEPass());
}