summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Analysis/DSGraph/strcpy.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-18 06:34:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-18 06:34:30 +0000
commit378f7d5d209b21eba24c8170a75777050a08fbe1 (patch)
tree65613ca733b0f82bc0e4e08e2395f72efc5c550b /llvm/test/Regression/Analysis/DSGraph/strcpy.ll
parentac2610a94acf6ef2a599d3bd3035af5f6c29dafd (diff)
downloadbcm5719-llvm-378f7d5d209b21eba24c8170a75777050a08fbe1.tar.gz
bcm5719-llvm-378f7d5d209b21eba24c8170a75777050a08fbe1.zip
For 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. llvm-svn: 29762
Diffstat (limited to 'llvm/test/Regression/Analysis/DSGraph/strcpy.ll')
-rw-r--r--llvm/test/Regression/Analysis/DSGraph/strcpy.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Regression/Analysis/DSGraph/strcpy.ll b/llvm/test/Regression/Analysis/DSGraph/strcpy.ll
index 7cb20119879..ae936d32a7d 100644
--- a/llvm/test/Regression/Analysis/DSGraph/strcpy.ll
+++ b/llvm/test/Regression/Analysis/DSGraph/strcpy.ll
@@ -3,7 +3,7 @@
; has no defined way to check for this, so DSA can know that strcpy doesn't
; require merging the input arguments.
-; RUN: analyze %s -datastructure-gc --dsgc-abort-if-merged=A,B --dsgc-check-flags=A:ASM,B:ASR --dsgc-dspass=bu
+; RUN: opt -analyze %s -datastructure-gc --dsgc-abort-if-merged=A,B --dsgc-check-flags=A:ASM,B:ASR --dsgc-dspass=bu
implementation
OpenPOWER on IntegriCloud