diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-20 19:16:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-20 19:16:47 +0000 |
commit | 955f899bcd335d85835ee5e3ad88ce9c42a3c228 (patch) | |
tree | 3ea99f2c47a93775a4bbece6ce4b22f4f3961a09 | |
parent | 1546bff42389c921bf1e070f18181d24c9590ee3 (diff) |
Add support to call LevelRaise
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/opt/Makefile | 2 | ||||
-rw-r--r-- | tools/opt/opt.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/opt/Makefile b/tools/opt/Makefile index a01097ff55..4a14d372e5 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 f039a8a002..70c2efeff8 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) { |