Run DCE AFTER SCCP and GCSE!

llvm-svn: 2476
This commit is contained in:
Chris Lattner 2002-05-06 03:04:17 +00:00
parent fed6d77c43
commit 878bbb2f1c
1 changed files with 1 additions and 1 deletions

View File

@ -83,9 +83,9 @@ int main(int argc, char **argv) {
Passes.add(createRaisePointerReferencesPass()); // Eliminate casts
Passes.add(createPromoteMemoryToRegister()); // Promote alloca's to regs
Passes.add(createInstructionCombiningPass()); // Combine silly seq's
Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars
Passes.add(createSCCPPass()); // Constant prop with SCCP
Passes.add(createGCSEPass()); // Remove common subexprs
Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars
}
Passes.add(new WriteBytecodePass(&Out)); // Write bytecode to file...