summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/gccas/gccas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp
index ae0320c2716..60da2be14c1 100644
--- a/llvm/tools/gccas/gccas.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud