mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-06 03:08:43 +00:00
Add capability to turn on the -no-fp-elim option
llvm-svn: 5161
This commit is contained in:
parent
8dde3469ee
commit
c1f89884ca
@ -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) $@ )
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user