forked from OSchip/llvm-project
The cleangcc pass is brokeninto two pieces, execute both of them.
llvm-svn: 2225
This commit is contained in:
parent
011ab80ed6
commit
c4414d4a10
|
|
@ -68,6 +68,7 @@ int main(int argc, char **argv) {
|
||||||
// a little bit. Do this now.
|
// a little bit. Do this now.
|
||||||
//
|
//
|
||||||
PassManager Passes;
|
PassManager Passes;
|
||||||
|
Passes.add(createFunctionResolvingPass()); // Resolve (...) functions
|
||||||
Passes.add(createDeadInstEliminationPass()); // Remove Dead code/vars
|
Passes.add(createDeadInstEliminationPass()); // Remove Dead code/vars
|
||||||
Passes.add(createRaiseAllocationsPass()); // call %malloc -> malloc inst
|
Passes.add(createRaiseAllocationsPass()); // call %malloc -> malloc inst
|
||||||
Passes.add(createCleanupGCCOutputPass()); // Fix gccisms
|
Passes.add(createCleanupGCCOutputPass()); // Fix gccisms
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue