The cleangcc pass is brokeninto two pieces, execute both of them.

llvm-svn: 2225
This commit is contained in:
Chris Lattner 2002-04-10 20:33:32 +00:00
parent 3b04124abd
commit d69c7543b9

View File

@ -68,6 +68,7 @@ int main(int argc, char **argv) {
// a little bit. Do this now.
//
PassManager Passes;
Passes.add(createFunctionResolvingPass()); // Resolve (...) functions
Passes.add(createDeadInstEliminationPass()); // Remove Dead code/vars
Passes.add(createRaiseAllocationsPass()); // call %malloc -> malloc inst
Passes.add(createCleanupGCCOutputPass()); // Fix gccisms