Skip to content

Commit

Permalink
remove leftover comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Aug 15, 2023
1 parent f989fe9 commit 12ee7ad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions crates/noirc_evaluator/src/ssa/opt/mem2reg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ impl PerFunctionContext {
// as this pass can occur before loop unrolling and flattening.
// The mem2reg pass should be ran again following all optimization passes as new values
// may be able to be promoted
// if self.has_common_successor[&block_id] {
// return address;
// }
for l in self.loops.yet_to_unroll.iter() {
// We do not want to substitute loads that take place within loops as this pass
// can occur before loop unrolling
Expand Down Expand Up @@ -252,9 +249,6 @@ impl PerFunctionContext {
// as this pass can occur before loop unrolling and flattening.
// The mem2reg pass should be ran again following all optimization passes as new values
// may be able to be promoted
// if self.has_common_successor[&block_id] {
// return false;
// }
for l in self.loops.yet_to_unroll.iter() {
// We do not want to substitute loads that take place within loops as this pass
// can occur before loop unrolling
Expand Down

0 comments on commit 12ee7ad

Please sign in to comment.