From ddd7381828ef7c791867917f2eb32e9cba66079f Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 8 Jan 2021 11:38:53 +0100 Subject: WIP: cleanup global A stack after evaluation in jsr_eval --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e30c528..27a0c15 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,12 @@ $(BC): %.bc: %.opt.ll llvm-as-11 $^ -o $@ $(OPTLL): %.opt.ll: $(DEPS) %.ll - cat $^ | opt-11 -S -O3 -o $@ + cat $^ \ + | opt-11 -S -always-inline \ + | opt-11 -S -O3 \ + | sed 's/noinline nounwind optnone/nounwind/' \ + | opt-11 -S -O3 \ + -o $@ clean: $(RM) $(BIN) $(OBJ) $(ASM) $(BC) -- cgit v1.2.3