[llvm-commits] CVS: llvm/test/Programs/MultiSource/Makefile.multisrc
Chris Lattner
lattner at cs.uiuc.edu
Thu Jan 16 15:02:01 PST 2003
Changes in directory llvm/test/Programs/MultiSource:
Makefile.multisrc updated: 1.16 -> 1.17
---
Log message:
Remove pool allocate tests
---
Diffs of the changes:
Index: llvm/test/Programs/MultiSource/Makefile.multisrc
diff -u llvm/test/Programs/MultiSource/Makefile.multisrc:1.16 llvm/test/Programs/MultiSource/Makefile.multisrc:1.17
--- llvm/test/Programs/MultiSource/Makefile.multisrc:1.16 Mon Sep 30 14:23:40 2002
+++ llvm/test/Programs/MultiSource/Makefile.multisrc Thu Jan 16 15:01:41 2003
@@ -79,64 +79,3 @@
typesafe: Output/$(PROG).linked.bc
$(LANALYZE) -unsafepointertypes $<
-
-
-#
-# If performing pool allocation tests, add a bunch of targets to the makefile...
-#
-ifdef ENABLE_POOLALLOC
-
-.PRECIOUS: Output/%.poolalloc.bc
-
-N32Objects := $(addprefix Output/n32/,$(NObjs))
-.PRECIOUS: $(N32Objects) Output/n32/.dir
-Output/%.native32: $(N32Objects)
- $(CC) -o $@ $(N32Objects) $(LDFLAGS)
-
-Output/n32/%.o: %.c Output/n32/.dir
- $(CC) -DTORONTO -g -xarch=v8 -c $< -o $@
-
-.PRECIOUS: Output/%.poolalloc8.llvm.bc Output/%.poolalloc16.llvm.bc Output/%.poolalloc32.llvm.bc Output/%.poolalloc16nle.llvm.bc Output/%.poolalloc32nle.llvm.bc
-
-# Pool allocate memory objects if possible
-Output/%.poolalloc8.llvm.bc: Output/%.linked.bc $(LOPT)
- $(LOPT) -internalize -poolalloc -ptrsize=8 -globaldce -instcombine -die -gcse < $< -o $@ -f
-Output/%.poolalloc16.llvm.bc: Output/%.linked.bc $(LOPT)
- $(LOPT) -internalize -poolalloc -ptrsize=16 -globaldce -instcombine -die -gcse < $< -o $@ -f
-Output/%.poolalloc32.llvm.bc: Output/%.linked.bc $(LOPT)
- $(LOPT) -internalize -poolalloc -ptrsize=32 -globaldce -instcombine -die -gcse < $< -o $@ -f
-
-Output/%.poolalloc8nle.llvm.bc: Output/%.linked.bc $(LOPT)
- $(LOPT) -internalize -poolalloc -no-pool-load-elim -ptrsize=8 -globaldce -instcombine -die < $< -o $@ -f
-Output/%.poolalloc16nle.llvm.bc: Output/%.linked.bc $(LOPT)
- $(LOPT) -internalize -poolalloc -no-pool-load-elim -ptrsize=16 -globaldce -instcombine -die < $< -o $@ -f
-Output/%.poolalloc32nle.llvm.bc: Output/%.linked.bc $(LOPT)
- $(LOPT) -internalize -poolalloc -no-pool-load-elim -ptrsize=32 -globaldce -instcombine -die < $< -o $@ -f
-
-
-
-# Link the pool allocator into the programs...
-LLC_PROG_LIBS += /home/vadve/lattner/PoolAllocated/PoolAllocator.o
-
-.PRECIOUS: Output/%.out-pa Output/%.diff-pa
-Output/%.out-pa: Output/%.llc
- -$< > $@ 2>&1
-
-Output/%.diff-pa: Output/%.out-pa Output/%.out-llc
- @echo "DIFFING pool allocated vs nonpoolallocated output:"
- diff $< $(<:%-pa=%-llc)
- @touch $@
-
-all:: Output/$(PROG).poolalloc32.diff-pa Output/$(PROG).poolalloc32.llc Output/$(PROG).poolalloc16.llc Output/$(PROG).poolalloc32nle.llc Output/$(PROG).poolalloc16nle.llc Output/$(PROG).native32
-
-timing: all
- $(TIMEPROG) 'Normal LLC build...' Output/$(PROG).llc
- $(TIMEPROG) '32 bit pool alloc NLE...' Output/$(PROG).poolalloc32nle.llc
- $(TIMEPROG) '32 bit pool allocation...' Output/$(PROG).poolalloc32.llc
- $(TIMEPROG) '16 bit pool alloc NLE...' Output/$(PROG).poolalloc16nle.llc
- $(TIMEPROG) '16 bit pool allocation...' Output/$(PROG).poolalloc16.llc
-
- $(TIMEPROG) 'Native Sun CC 64...' Output/$(PROG).native
- $(TIMEPROG) 'Native Sun CC 32...' Output/$(PROG).native32
-
-endif
More information about the llvm-commits
mailing list