Add support to call LevelRaise
authorChris Lattner <sabre@nondot.org>
Fri, 20 Jul 2001 19:16:47 +0000 (19:16 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Jul 2001 19:16:47 +0000 (19:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/Makefile
tools/opt/opt.cpp

index a01097ff55b0b0c3ecb80ef9b7bf41ac06507131..4a14d372e5aa70a9b050ac3896745f777424da4f 100644 (file)
@@ -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 
index f039a8a002ef24b8bb48ca0add81bb3c237354bc..70c2efeff84e44c12c9d286ee253ccf5f6026f67 100644 (file)
@@ -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) {