[llvm-commits] CVS: llvm-test/TEST.libcalls.Makefile
Reid Spencer
reid at x10sys.com
Sat May 14 11:46:21 PDT 2005
Changes in directory llvm-test:
TEST.libcalls.Makefile updated: 1.1 -> 1.2
---
Log message:
* Fix the header
* Use "summary" as a better target name
* Don't print the opt command line
---
Diffs of the changes: (+14 -8)
TEST.libcalls.Makefile | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
Index: llvm-test/TEST.libcalls.Makefile
diff -u llvm-test/TEST.libcalls.Makefile:1.1 llvm-test/TEST.libcalls.Makefile:1.2
--- llvm-test/TEST.libcalls.Makefile:1.1 Sat May 14 13:35:41 2005
+++ llvm-test/TEST.libcalls.Makefile Sat May 14 13:46:10 2005
@@ -1,7 +1,12 @@
-##===- TEST.aa.Makefile ------------------------------------*- Makefile -*-===##
+##===- TEST.libcalls.Makefile -------------------------------*- Makefile -*-===##
#
-# This recursively traverses the programs, computing the precision of various
-# alias analysis passes on the programs.
+# This recursively traverses the programs, and runs the -simplify-libcalls pass
+# on each *.linked.rbc bytecode file with -stats set so that it is possible to
+# determine which libcalls are being optimized in which programs.
+#
+# Usage:
+# make TEST=libcalls summary (short summary)
+# make TEST=libcalls (detailed list with time passes, etc.)
#
##===----------------------------------------------------------------------===##
@@ -12,11 +17,12 @@
@cat $<
$(PROGRAMS_TO_TEST:%=Output/%.$(TEST).report.txt): \
-Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT)
- -$(LOPT) -simplify-libcalls -stats -debug-only=simplify-libcalls \
- -disable-output $< 2>$@
-list-calls:
+Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT) \
+ $(PROJ_SRC_ROOT)/TEST.libcalls.Makefile
+ @-$(LOPT) -simplify-libcalls -stats -debug-only=simplify-libcalls \
+ -time-passes -disable-output $< 2>$@
+summary:
@$(MAKE) TEST=libcalls | egrep '======|simplify-libcalls -'
-.PHONY: list-calls
+.PHONY: summary
REPORT_DEPENDENCIES := $(LOPT)
More information about the llvm-commits
mailing list