Only run DeadInst elimination early, because it is quick and painless and

pipelines well

llvm-svn: 1549
This commit is contained in:
Chris Lattner 2002-01-22 21:06:44 +00:00
parent 3c54e3bcdc
commit bf0c3377fd

View File

@ -64,7 +64,7 @@ int main(int argc, char **argv) {
// a little bit. Do this now.
//
PassManager Passes;
Passes.add(new DeadCodeElimination()); // Remove Dead code/vars
Passes.add(new DeadInstElimination()); // Remove Dead code/vars
Passes.add(new RaiseAllocations()); // call %malloc -> malloc inst
Passes.add(new CleanupGCCOutput()); // Fix gccisms
Passes.add(new InductionVariableSimplify()); // Simplify indvars