]> granicus.if.org Git - llvm/commitdiff
Add capability to turn on the -no-fp-elim option
authorChris Lattner <sabre@nondot.org>
Sat, 28 Dec 2002 20:01:23 +0000 (20:01 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Dec 2002 20:01:23 +0000 (20:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5161 91177308-0d34-0410-b5e6-96231b3b80d8

test/Jello/Makefile

index de01a982fb7a28d6655025ae188170f87129a782..bb7c8ec53c4b5d099797a5a55e2cff3c032fa500 100644 (file)
@@ -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) $@ )