Skip to content

Commit

Permalink
Merge b7f115d into db28cb9
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Jan 12, 2025
2 parents db28cb9 + b7f115d commit 5e32a42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/noirc_evaluator/src/ssa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ fn optimize_all(builder: SsaBuilder, options: &SsaEvaluatorOptions) -> Result<Ss
.run_pass(Ssa::mem2reg, "Mem2Reg (2nd)")
.run_pass(Ssa::flatten_cfg, "Flattening")
.run_pass(Ssa::remove_bit_shifts, "Removing Bit Shifts")
.run_pass(Ssa::fold_constants, "Constant Folding")
// Run mem2reg once more with the flattened CFG to catch any remaining loads/stores
.run_pass(Ssa::mem2reg, "Mem2Reg (3rd)")
// Run the inlining pass again to handle functions with `InlineType::NoPredicates`.
Expand Down

0 comments on commit 5e32a42

Please sign in to comment.