forked from M-Labs/artiq
1
0
Fork 0

compiler: raise inliner threshold to the equivalent of -O3.

This commit is contained in:
whitequark 2016-03-27 01:08:13 +00:00 committed by Sebastien Bourdeauducq
parent 3fa5762c10
commit 019f528ea6
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class Target:
llpassmgr.add_global_optimizer_pass() llpassmgr.add_global_optimizer_pass()
# Now, actually optimize the code. # Now, actually optimize the code.
llpassmgr.add_function_inlining_pass(70) llpassmgr.add_function_inlining_pass(275)
llpassmgr.add_instruction_combining_pass() llpassmgr.add_instruction_combining_pass()
llpassmgr.add_cfg_simplification_pass() llpassmgr.add_cfg_simplification_pass()
llpassmgr.add_dead_arg_elimination_pass() llpassmgr.add_dead_arg_elimination_pass()