File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -405,11 +405,11 @@ def lto(
405
405
# binary size growth while still getting good performance.
406
406
# (For hot functions, PGO will put a multiplier on this limit.)
407
407
if target .os == "WINNT" :
408
- ldflags .append ("-mllvm:-import-instr-limit=10 " )
408
+ ldflags .append ("-mllvm:-import-instr-limit=30 " )
409
409
elif target .kernel == "Darwin" :
410
- ldflags .append ("-Wl,-mllvm,-import-instr-limit=10 " )
410
+ ldflags .append ("-Wl,-mllvm,-import-instr-limit=30 " )
411
411
elif c_compiler .type == "clang" :
412
- ldflags .append ("-Wl,-plugin-opt=-import-instr-limit=10 " )
412
+ ldflags .append ("-Wl,-plugin-opt=-import-instr-limit=30 " )
413
413
414
414
# If we're using the new pass manager, we can also enable the new PM
415
415
# during LTO. Further we can use the resulting size savings to increase
You can’t perform that action at this time.
0 commit comments