Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Dec 21, 2024
1 parent ed1c1d2 commit 6865065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/noirc_evaluator/src/ssa/opt/loop_invariant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ impl<'f> LoopInvariantContext<'f> {
}
Instruction::Binary(binary) => {
if !matches!(binary.operator, BinaryOp::Add | BinaryOp::Mul) {
return false;
return false;
}

let operand_type =
self.inserter.function.dfg.type_of_value(binary.lhs).unwrap_numeric();

Expand Down

0 comments on commit 6865065

Please sign in to comment.