From 019f528ea6836b4ed2e54c9b8db97d4f643a6deb Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 27 Mar 2016 01:08:13 +0000 Subject: [PATCH] compiler: raise inliner threshold to the equivalent of -O3. --- artiq/compiler/targets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/compiler/targets.py b/artiq/compiler/targets.py index 8a3211be1..eb4381635 100644 --- a/artiq/compiler/targets.py +++ b/artiq/compiler/targets.py @@ -100,7 +100,7 @@ class Target: llpassmgr.add_global_optimizer_pass() # Now, actually optimize the code. - llpassmgr.add_function_inlining_pass(70) + llpassmgr.add_function_inlining_pass(275) llpassmgr.add_instruction_combining_pass() llpassmgr.add_cfg_simplification_pass() llpassmgr.add_dead_arg_elimination_pass()