Changes in directory llvm-test/SingleSource:
Makefile.singlesrc updated: 1.32 -> 1.33 --- Log message: For PR1159: http://llvm.org/PR1159 : Avoid going to LLVM assembly files at all to improve performance of the nightly test. Bytecode is now processed like this: llvm-gcc -c -emit-llvm %.c -o %.bc gccld -disable-opt -link-as-library *.bc -o %.linked.rbc opt -std-compile-opts %.linked.rbc -o %.linked.bc gccld %.linked.bc -o %.llvm This eliminates one gccas invocation for each source file compilation, and two translations between .ll and .bc. --- Diffs of the changes: (+4 -4) Makefile.singlesrc | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm-test/SingleSource/Makefile.singlesrc diff -u llvm-test/SingleSource/Makefile.singlesrc:1.32 llvm-test/SingleSource/Makefile.singlesrc:1.33 --- llvm-test/SingleSource/Makefile.singlesrc:1.32 Thu Nov 23 15:21:45 2006 +++ llvm-test/SingleSource/Makefile.singlesrc Fri Feb 2 22:30:17 2007 @@ -22,13 +22,12 @@ .PRECIOUS: Output/%.linked.rll ifndef USE_PRECOMPILED_BYTECODE -Output/%.linked.rbc: Output/%.ll - -$(LLVMAS) < $< > $@ -Output/%.linked.rll: Output/%.ll - -cp -f $< $@ +Output/%.linked.rbc: Output/%.bc + cp -f $< $@ Output/%.LOC.txt: $(SourceDir)/%.c cat $< | wc -l > $@ + Output/%.LOC.txt: $(SourceDir)/%.cpp cat $< | wc -l > $@ endif @@ -36,6 +35,7 @@ # FIXME: LIBS should be specified, not hardcoded to -lm Output/%.native: $(SourceDir)/%.c Output/.dir -$(CC) $(CFLAGS) -O2 $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS) + Output/%.native: $(SourceDir)/%.cpp Output/.dir -$(CXX) $(CXXFLAGS) -O2 $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits