diff options
author | Chris Lattner <sabre@nondot.org> | 2002-01-22 21:06:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-01-22 21:06:44 +0000 |
commit | e94525575f7b7b25e1fca74aa64c2babdadab4e8 (patch) | |
tree | b83a34b1fd2eae785dd2c1940b8610a2b8160477 /tools/gccas/gccas.cpp | |
parent | e5cf823b54884300492fe378889f885ef7805296 (diff) |
Only run DeadInst elimination early, because it is quick and painless and
pipelines well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
-rw-r--r-- | tools/gccas/gccas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index ae0320c271..60da2be14c 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -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 |