mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
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
This commit is contained in:
parent
6cc36d40e6
commit
a65c508fb4
@ -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…
x
Reference in New Issue
Block a user