Skip to content

Commit

Permalink
fix(ir): change local iter number
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniMay committed Jul 27, 2024
1 parent 64bf7f2 commit 305ea75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
opt_pipeline.add_pass(CFG_SIMPLIFY);
opt_pipeline.add_pass(SIMPLE_DCE);

let iter = passman.run_pipeline(&mut ir, &opt_pipeline, 1, 8);
let iter = passman.run_pipeline(&mut ir, &opt_pipeline, 32, 8);

println!("Optimization iterations: {}", iter);

Expand Down

0 comments on commit 305ea75

Please sign in to comment.