mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 11:10:12 +00:00
Only run DeadInst elimination early, because it is quick and painless and
pipelines well llvm-svn: 1549
This commit is contained in:
parent
3c54e3bcdc
commit
bf0c3377fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user