summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccas/gccas.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-21 23:17:48 +0000
committerChris Lattner <sabre@nondot.org>2002-01-21 23:17:48 +0000
commitee965abc367045a647fd33a5df3295e097925e3a (patch)
tree0632ccb72c12c4fbce7c66745c3534bb2b63e6f6 /llvm/tools/gccas/gccas.cpp
parent4f32cf118a4fbf1419b3ed18db2363cb5ad47de0 (diff)
downloadbcm5719-llvm-ee965abc367045a647fd33a5df3295e097925e3a.tar.gz
bcm5719-llvm-ee965abc367045a647fd33a5df3295e097925e3a.zip
Move stuff out of the Optimizations directories into the appropriate Transforms
directories. Eliminate the opt namespace. llvm-svn: 1520
Diffstat (limited to 'llvm/tools/gccas/gccas.cpp')
-rw-r--r--llvm/tools/gccas/gccas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp
index 7e2b6f3e46c..24a5e87b1ba 100644
--- a/llvm/tools/gccas/gccas.cpp
+++ b/llvm/tools/gccas/gccas.cpp
@@ -11,8 +11,8 @@
#include "llvm/Assembly/Parser.h"
#include "llvm/Transforms/CleanupGCCOutput.h"
#include "llvm/Transforms/LevelChange.h"
-#include "llvm/Optimizations/DCE.h"
#include "llvm/Transforms/ConstantMerge.h"
+#include "llvm/Transforms/Scalar/DCE.h"
#include "llvm/Transforms/Scalar/IndVarSimplify.h"
#include "llvm/Transforms/Scalar/InstructionCombining.h"
#include "llvm/Bytecode/Writer.h"
@@ -64,13 +64,13 @@ int main(int argc, char **argv) {
// a little bit. Do this now.
//
PassManager Passes;
- Passes.add(new opt::DeadCodeElimination()); // Remove Dead code/vars
+ Passes.add(new DeadCodeElimination()); // Remove Dead code/vars
Passes.add(new CleanupGCCOutput()); // Fix gccisms
Passes.add(new InductionVariableSimplify()); // Simplify indvars
Passes.add(new RaisePointerReferences()); // Eliminate casts
Passes.add(new ConstantMerge()); // Merge dup global consts
Passes.add(new InstructionCombining()); // Combine silly seq's
- Passes.add(new opt::DeadCodeElimination()); // Remove Dead code/vars
+ Passes.add(new DeadCodeElimination()); // Remove Dead code/vars
// Run our queue of passes all at once now, efficiently. This form of
// runAllPasses frees the Pass objects after runAllPasses completes.
OpenPOWER on IntegriCloud