diff --git a/llvm/tools/opt/Makefile b/llvm/tools/opt/Makefile index a01097ff55b0..4a14d372e5aa 100644 --- a/llvm/tools/opt/Makefile +++ b/llvm/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/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp index f039a8a002ef..70c2efeff84e 100644 --- a/llvm/tools/opt/opt.cpp +++ b/llvm/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) {