No need to run dce with adce right behind!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-05-23 19:27:50 +00:00
parent 0fa59061d0
commit 5424e50c61

View File

@ -87,7 +87,6 @@ int main(int argc, char **argv) {
// Run instcombine after redundancy elimination to exploit opportunities
// opened up by them.
Passes.add(createInstructionCombiningPass());
Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars
Passes.add(createAggressiveDCEPass()); // SSA based 'Agressive DCE'
Passes.add(createCFGSimplificationPass()); // Merge & remove BBs
}