From e94525575f7b7b25e1fca74aa64c2babdadab4e8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 22 Jan 2002 21:06:44 +0000 Subject: [PATCH] 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 --- tools/gccas/gccas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index ae0320c2716..60da2be14c1 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 -- 2.34.1