summaryrefslogtreecommitdiff
path: root/tools/gccas
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-22 21:06:44 +0000
committerChris Lattner <sabre@nondot.org>2002-01-22 21:06:44 +0000
commite94525575f7b7b25e1fca74aa64c2babdadab4e8 (patch)
treeb83a34b1fd2eae785dd2c1940b8610a2b8160477 /tools/gccas
parente5cf823b54884300492fe378889f885ef7805296 (diff)
downloadllvm-e94525575f7b7b25e1fca74aa64c2babdadab4e8.tar.gz
llvm-e94525575f7b7b25e1fca74aa64c2babdadab4e8.tar.bz2
llvm-e94525575f7b7b25e1fca74aa64c2babdadab4e8.tar.xz
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')
-rw-r--r--tools/gccas/gccas.cpp2
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