[llvm-commits] CVS: llvm-test/TEST.libcalls.Makefile

Reid Spencer reid at x10sys.com
Sat May 14 11:35:52 PDT 2005



Changes in directory llvm-test:

TEST.libcalls.Makefile added (r1.1)
---
Log message:

Add a new report generator for the simplify-libcalls pass. To use just
"make TEST=libcalls list-calls" which will garner a summary generated by
the pass' statistics.


---
Diffs of the changes:  (+22 -0)

 TEST.libcalls.Makefile |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+)


Index: llvm-test/TEST.libcalls.Makefile
diff -c /dev/null llvm-test/TEST.libcalls.Makefile:1.1
*** /dev/null	Sat May 14 13:35:51 2005
--- llvm-test/TEST.libcalls.Makefile	Sat May 14 13:35:41 2005
***************
*** 0 ****
--- 1,22 ----
+ ##===- TEST.aa.Makefile ------------------------------------*- Makefile -*-===##
+ #
+ # This recursively traverses the programs, computing the precision of various
+ # alias analysis passes on the programs.
+ #
+ ##===----------------------------------------------------------------------===##
+ 
+ TDIR:=$(patsubst $(PROJ_OBJ_ROOT)/%,%,$(shell pwd))
+ $(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
+ test.$(TEST).%: Output/%.$(TEST).report.txt
+ 	@echo "======= $(TDIR)/$*' Program"
+ 	@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:
+ 	@$(MAKE) TEST=libcalls | egrep '======|simplify-libcalls -'
+ 
+ .PHONY: list-calls
+ REPORT_DEPENDENCIES := $(LOPT)






More information about the llvm-commits mailing list