[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/Makefile.singlesrc
Alkis Evlogimenos
alkis at cs.uiuc.edu
Mon Feb 7 18:26:44 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource:
Makefile.singlesrc updated: 1.18 -> 1.19
---
Log message:
Remove the hack from compiler that adds stub returns to undefined
functions. Use a pass instead to add stubs after we link a module with
the runtime.
---
Diffs of the changes: (+1 -14)
Makefile.singlesrc | 15 +--------------
1 files changed, 1 insertion(+), 14 deletions(-)
Index: llvm-java/test/Programs/SingleSource/Makefile.singlesrc
diff -u llvm-java/test/Programs/SingleSource/Makefile.singlesrc:1.18 llvm-java/test/Programs/SingleSource/Makefile.singlesrc:1.19
--- llvm-java/test/Programs/SingleSource/Makefile.singlesrc:1.18 Fri Feb 4 10:14:54 2005
+++ llvm-java/test/Programs/SingleSource/Makefile.singlesrc Mon Feb 7 20:26:32 2005
@@ -8,21 +8,8 @@
##===----------------------------------------------------------------------===##
# rule to build raw bytecode from a classfile
-%.raw.bc: %.class $(CLASS2LLVM)
+%.linked.bc: %.class $(CLASS2LLVM)
$(Echo) Compiling $< to bytecode
-$(Verb)$(CLASS2LLVM) -cp $(CLASSPATH):Output $(subst /,.,$(*F)) -o=$@
-OPT_PASSES := -simplifycfg -mem2reg -globalopt -globaldce \
- -ipsccp -simplifycfg -deadargelim -instcombine -simplifycfg \
- -inline -argpromotion -raise -tailduplicate -simplifycfg \
- -scalarrepl -instcombine -tailcallelim -simplifycfg \
- -licm -instcombine -indvars -loop-unroll -instcombine \
- -load-vn -gcse -sccp -instcombine -dse -adce -simplifycfg \
- -deadtypeelim -constmerge
-
-# optimize raw bytecode
-%.linked.bc: %.raw.bc $(LOPT)
- $(Echo) Optimizing $<
- -$(Verb)$(LOPT) $(OPT_PASSES) -f -o=$@ $<
-
include $(LEVEL)/test/Makefile.test
More information about the llvm-commits
mailing list