nac3standalone: set up LLVM inliner like in nac3artiq
This commit is contained in:
parent
52ccf31bb1
commit
b638d1b4b0
@ -268,6 +268,7 @@ fn main() {
|
||||
let builder = PassManagerBuilder::create();
|
||||
builder.set_optimization_level(OptimizationLevel::Aggressive);
|
||||
let passes = PassManager::create(());
|
||||
builder.set_inliner_with_threshold(255);
|
||||
builder.populate_module_pass_manager(&passes);
|
||||
passes.run_on(module);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user