build: reduce inline threshold on aarch64 to 300

We see coroutine miscompiles with 600.

Fixes #9881.

Closes #9883
This commit is contained in:
Avi Kivity
2022-01-06 14:38:19 +02:00
committed by Nadav Har'El
parent 6e2d29300c
commit b850b34bcc

View File

@@ -1338,7 +1338,8 @@ def clang_inline_threshold():
return args.clang_inline_threshold
elif platform.machine() == 'aarch64':
# we see miscompiles with 1200 and above with format("{}", uuid)
return 600
# also coroutine miscompiles with 600
return 300
else:
return 2500