[llvm-commits] CVS: llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll

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



Changes in directory llvm/test/Regression/Analysis/Dominators:

2003-05-12-UnreachableCode.ll updated: 1.1 -> 1.2
---
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:  (+1 -1)

 2003-05-12-UnreachableCode.ll |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll
diff -u llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll:1.1 llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll:1.2
--- llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll:1.1	Mon May 12 17:28:15 2003
+++ llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll	Fri Aug 18 01:34:30 2006
@@ -1,4 +1,4 @@
-; RUN: analyze %s -domset -disable-verify
+; RUN: opt -analyze %s -domset -disable-verify
 ;
 int %re_match_2() {
 ENTRY:






More information about the llvm-commits mailing list