Skip to content

Commit

Permalink
Makefile: increase inline-threshold slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
ghazzor committed Jul 4, 2024
1 parent c32ee76 commit a6c59e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ endif

ifdef CONFIG_INLINE_OPTIMIZATION
ifeq ($(cc-name),clang)
KBUILD_CFLAGS += -mllvm -inline-threshold=1000
KBUILD_CFLAGS += -mllvm -inline-threshold=1100
KBUILD_CFLAGS += -mllvm -inlinehint-threshold=750
else ifeq ($(cc-name),gcc)
KBUILD_CFLAGS += --param max-inline-insns-single=600
Expand Down

0 comments on commit a6c59e8

Please sign in to comment.