From: Chris Lattner Date: Wed, 10 Apr 2002 20:33:32 +0000 (+0000) Subject: The cleangcc pass is brokeninto two pieces, execute both of them. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6a1f6940a189ea144bdd5efde53325f68c6ae330;p=oota-llvm.git The cleangcc pass is brokeninto two pieces, execute both of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2225 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 3f52e004f67..1bf1e8c0b7b 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -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