aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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)