[llvm-commits] CVS: reopt/test/TEST.reopt.Makefile DiffLLCOutput.sh

Brian Gaeke gaeke at cs.uiuc.edu
Thu Jan 8 15:39:01 PST 2004


Changes in directory reopt/test:

TEST.reopt.Makefile updated: 1.6 -> 1.7
DiffLLCOutput.sh (r1.1) removed

---
Log message:

Don't use time limits with reoptimizer tests for now.
DiffLLCOutput.sh was merged with the main DiffOutput.sh.


---
Diffs of the changes:  (+5 -4)

Index: reopt/test/TEST.reopt.Makefile
diff -u reopt/test/TEST.reopt.Makefile:1.6 reopt/test/TEST.reopt.Makefile:1.7
--- reopt/test/TEST.reopt.Makefile:1.6	Thu Jan  8 11:21:09 2004
+++ reopt/test/TEST.reopt.Makefile	Thu Jan  8 15:38:17 2004
@@ -13,8 +13,6 @@
 
 TESTNAME = $*
 
-PROJDIFFPROG = $(PROJECT_DIR)/test/DiffLLCOutput.sh
-
 REOPTLIBDIR = $(PROJECT_DIR)/lib/Debug
 
 # Libraries that contain the Reoptimizer itself
@@ -73,9 +71,12 @@
 $(PROGRAMS_TO_TEST:%=Output/%.out-reopt-llc): \
 Output/%.out-reopt-llc: Output/%.reopt-llc
 	@echo "===== Running Reoptimizer version of $(TESTNAME) ====="
-	-$(RUNSAFELY) $(STDIN_FILENAME) $@ $< $(RUN_OPTIONS)
+#	-$(RUNSAFELY) $(STDIN_FILENAME) $@ $< $(RUN_OPTIONS)
+# Reoptimizer currently runs so slowly in debug mode with
+# --enable-trace-opt that you can't effectively use time limits.
+	-$< $(RUN_OPTIONS) < $(STDIN_FILENAME) > $@
 
 # 4. Diff it against the plain old llc version
 $(PROGRAMS_TO_TEST:%=Output/%.diff-reopt-llc): \
 Output/%.diff-reopt-llc: Output/%.out-llc Output/%.out-reopt-llc
-	-$(PROJDIFFPROG) reopt-llc $* llc $(HIDEDIFF)
+	-$(DIFFPROG) reopt-llc $* llc $(HIDEDIFF)





More information about the llvm-commits mailing list