[llvm-commits] CVS: llvm/tools/Makefile

Reid Spencer reid at x10sys.com
Thu Aug 17 23:34:56 PDT 2006



Changes in directory llvm/tools:

Makefile updated: 1.50 -> 1.51
---
Log message:

For PR872: http://llvm.org/PR872 :
Shrinkify LLVM's footprint by removing the analyze tool and moving its
functionality into the opt tool. THis eliminates one of the largest tools
from LLVM and doesn't make opt much bigger because it already included 
most of the analysis passes.  To get the old analyze functionality pass 
the -analyze option to opt. Note that the integeration here is dead
simple. The "main" of analyze was just copied to opt and invoked if the
-analyze option was given. There may be opportunities for further 
integration such as removing the distinction between transform passes
and analysis passes.

To use the analysis functionality, if you previously did this:
  analyze $FNAME -domset -disable-verify
you would now do this:
  opt -analyze $FNAME -domset -disable-verify
Pretty simple.


---
Diffs of the changes:  (+2 -3)

 Makefile |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/tools/Makefile
diff -u llvm/tools/Makefile:1.50 llvm/tools/Makefile:1.51
--- llvm/tools/Makefile:1.50	Wed Jul 26 15:19:06 2006
+++ llvm/tools/Makefile	Fri Aug 18 01:34:30 2006
@@ -9,8 +9,7 @@
 
 LEVEL := ..
 PARALLEL_DIRS := llvm-config llvm-as llvm-dis opt gccas llc llvm-link lli gccld\
-                 llvm-stub analyze llvm-extract llvm-nm llvm-prof llvm-ar \
-		 llvm-ranlib llvm-bcanalyzer llvmc llvm-ld llvm-db bugpoint \
-                 llvm2cpp
+                 llvm-stub llvm-extract llvm-nm llvm-prof llvm-ar llvm-ranlib \
+		 llvm-bcanalyzer llvmc llvm-ld llvm-db bugpoint llvm2cpp
 
 include $(LEVEL)/Makefile.common






More information about the llvm-commits mailing list