aboutsummaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-01 02:41:09 +0000
committerChris Lattner <sabre@nondot.org>2001-11-01 02:41:09 +0000
commit068f487ee59a703a6e52ed5b96e222cbf632374a (patch)
tree4cf4cd9bb511ca411310b858544ba531a87cbace /tools/opt/opt.cpp
parent591bda986e750146133f31bedcff9952a822f0a7 (diff)
Move the Raise xform from opt to transforms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 940108c605..5c620a5234 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -15,6 +15,7 @@
#include "llvm/Assembly/PrintModulePass.h"
#include "llvm/Transforms/ConstantMerge.h"
#include "llvm/Transforms/CleanupGCCOutput.h"
+#include "llvm/Transforms/LevelChange.h"
#include <fstream>
using namespace opt;
@@ -43,7 +44,7 @@ struct {
{ indvars , new opt::InductionVariableCannonicalize() },
{ sccp , new opt::SCCPPass() },
{ adce , new opt::AgressiveDCE() },
- { raise , new opt::RaiseRepresentation() },
+ { raise , new RaisePointerReferences() },
{ trace , new InsertTraceCode(true, true) },
{ tracem , new InsertTraceCode(false, true) },
{ print , new PrintModulePass("Current Method: \n",&cerr) },