File tree 1 file changed +14
-8
lines changed
1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
- # #===- TEST.aa .Makefile ----- -------------------------------*- Makefile -*-===##
1
+ # #===- TEST.libcalls .Makefile -------------------------------*- Makefile -*-===##
2
2
#
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.)
5
10
#
6
11
# #===----------------------------------------------------------------------===##
7
12
@@ -12,11 +17,12 @@ test.$(TEST).%: Output/%.$(TEST).report.txt
12
17
@cat $<
13
18
14
19
$(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 :
19
25
@$(MAKE ) TEST=libcalls | egrep ' ======|simplify-libcalls -'
20
26
21
- .PHONY : list-calls
27
+ .PHONY : summary
22
28
REPORT_DEPENDENCIES := $(LOPT )
You can’t perform that action at this time.
0 commit comments