Skip to content

Commit 8305bab

Browse files
Olli Pettayopettay@mozilla.com
authored andcommitted
Bug 1832022 - Consider to increase import-instr-limit to 30, r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D185078
1 parent acc2497 commit 8305bab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/moz.configure/lto-pgo.configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,11 @@ def lto(
405405
# binary size growth while still getting good performance.
406406
# (For hot functions, PGO will put a multiplier on this limit.)
407407
if target.os == "WINNT":
408-
ldflags.append("-mllvm:-import-instr-limit=10")
408+
ldflags.append("-mllvm:-import-instr-limit=30")
409409
elif target.kernel == "Darwin":
410-
ldflags.append("-Wl,-mllvm,-import-instr-limit=10")
410+
ldflags.append("-Wl,-mllvm,-import-instr-limit=30")
411411
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")
413413

414414
# If we're using the new pass manager, we can also enable the new PM
415415
# during LTO. Further we can use the resulting size savings to increase

0 commit comments

Comments
 (0)