Skip to content

Commit 9d797c9

Browse files
author
Reid Spencer
committed
* Fix the header
* Use "summary" as a better target name * Don't print the opt command line llvm-svn: 22031
1 parent 52e55e7 commit 9d797c9

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

TEST.libcalls.Makefile

+14-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
##===- TEST.aa.Makefile ------------------------------------*- Makefile -*-===##
1+
##===- TEST.libcalls.Makefile -------------------------------*- Makefile -*-===##
22
#
3-
# This recursively traverses the programs, computing the precision of various
4-
# alias analysis passes on the programs.
3+
# This recursively traverses the programs, and runs the -simplify-libcalls pass
4+
# on each *.linked.rbc bytecode file with -stats set so that it is possible to
5+
# determine which libcalls are being optimized in which programs.
6+
#
7+
# Usage:
8+
# make TEST=libcalls summary (short summary)
9+
# make TEST=libcalls (detailed list with time passes, etc.)
510
#
611
##===----------------------------------------------------------------------===##
712

@@ -12,11 +17,12 @@ test.$(TEST).%: Output/%.$(TEST).report.txt
1217
@cat $<
1318

1419
$(PROGRAMS_TO_TEST:%=Output/%.$(TEST).report.txt): \
15-
Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT)
16-
-$(LOPT) -simplify-libcalls -stats -debug-only=simplify-libcalls \
17-
-disable-output $< 2>$@
18-
list-calls:
20+
Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT) \
21+
$(PROJ_SRC_ROOT)/TEST.libcalls.Makefile
22+
@-$(LOPT) -simplify-libcalls -stats -debug-only=simplify-libcalls \
23+
-time-passes -disable-output $< 2>$@
24+
summary:
1925
@$(MAKE) TEST=libcalls | egrep '======|simplify-libcalls -'
2026

21-
.PHONY: list-calls
27+
.PHONY: summary
2228
REPORT_DEPENDENCIES := $(LOPT)

0 commit comments

Comments
 (0)