3 Star 0 Fork 14

Lyupa Anastasia/llvm-test-suite

forked from liwentao/llvm-test-suite 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
TEST.llc.Makefile 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
Bruno Cardoso Lopes 提交于 2011-08-29 19:42 . llc "-f" option is long gone!
##===- TEST.llc.Makefile -----------------------------------*- Makefile -*-===##
#
# This test tries running the compiler on all of the programs and
# reports on detailed pass execution times and register allocation and
# peephole optimization statistics.
#
##===----------------------------------------------------------------------===##
LLC_OPTS = $(LLCFLAGS) -o=/dev/null -stats -time-passes
CURDIR := $(shell cd .; pwd)
PROGDIR := $(PROJ_SRC_ROOT)
RELDIR := $(subst $(PROGDIR),,$(CURDIR))
$(PROGRAMS_TO_TEST:%=Output/%.$(TEST).report.txt): \
Output/%.$(TEST).report.txt: Output/%.llvm.bc $(LLC)
$(VERB) $(RM) -f $@
@echo "---------------------------------------------------------------" >> $@
@echo ">>> ========= '$(RELDIR)/$*' Program" >> $@
@echo "---------------------------------------------------------------" >> $@
-(time -p $(LLC) $(LLC_OPTS) $<) >> $@ 2>&1
$(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
test.$(TEST).%: Output/%.$(TEST).report.txt
@cat $<
# Define REPORT_DEPENDENCIES so that the report is regenerated if llc changes
#
REPORT_DEPENDENCIES := $(LLC)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lyupaanastasia/llvm-test-suite.git
git@gitee.com:lyupaanastasia/llvm-test-suite.git
lyupaanastasia
llvm-test-suite
llvm-test-suite
main

搜索帮助