From: Chris Lattner Date: Fri, 20 Jul 2001 19:16:47 +0000 (+0000) Subject: Add support to call LevelRaise X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=955f899bcd335d85835ee5e3ad88ce9c42a3c228;p=oota-llvm.git Add support to call LevelRaise git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/opt/Makefile b/tools/opt/Makefile index a01097ff55b..4a14d372e5a 100644 --- a/tools/opt/Makefile +++ b/tools/opt/Makefile @@ -5,6 +5,6 @@ all:: opt clean :: rm -f opt -opt : $(ObjectsG) +opt : $(ObjectsG) ../../lib/Optimizations/Debug/libopt.a $(LinkG) -o $@ $(ObjectsG) -lopt -lbcreader -lbcwriter \ -lasmwriter -lanalysis -lvmcore diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index f039a8a002e..70c2efeff84 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -42,6 +42,7 @@ struct { { "-sccp" , "Sparse Conditional Constant Prop", DoSCCP }, { "-cpm" , "Constant Pool Merging", DoConstantPoolMerging }, { "-adce" , "Agressive DCE", DoADCE }, + { "-raise" , "Raise to Higher Level", DoRaiseRepresentation }, }; int main(int argc, char **argv) {