aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-28 20:01:23 +0000
committerChris Lattner <sabre@nondot.org>2002-12-28 20:01:23 +0000
commita65c508fb4ed9466a1ab28fe78a50f05e76268fe (patch)
tree5b7f3c3367508790208e98cd67a962c3111b47db
parent6cc36d40e6ae50c93d481e6ab9ec28ff15f66a02 (diff)
Add capability to turn on the -no-fp-elim option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5161 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Jello/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/Jello/Makefile b/test/Jello/Makefile
index de01a982fb..bb7c8ec53c 100644
--- a/test/Jello/Makefile
+++ b/test/Jello/Makefile
@@ -10,9 +10,15 @@ FTESTS := $(wildcard *.llx) # Freeform tests
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
+LLI_FLAGS = -force-interpreter=false
+
+ifdef DISABLE_FP_ELIM
+LLI_FLAGS += -no-fp-elim
+endif
+
Output/%.out: Output/%.bc $(LLI)
@echo "======== Running $< ==================="
- $(VERB) $(LLI) -force-interpreter=false -stats $< > $@ 2>&1 || \
+ $(VERB) $(LLI) $(LLI_FLAGS) -stats $< > $@ 2>&1 || \
( cat $@; rm -f $@; $(FAILURE) $@ )