Skip to content

Commit

Permalink
Golf
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-koch committed Dec 18, 2024
1 parent 63542a2 commit af980d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hugr-llvm/src/extension/logic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ fn emit_logic_op<'c, H: HugrView>(
}
acc
}
LogicOp::Not => {
let x = inputs[0];
builder.build_not(x, "")?
}
LogicOp::Not => builder.build_not(inputs[0], "")?,
op => {
return Err(anyhow!("LogicOpEmitter: Unknown op: {op:?}"));
}
Expand Down

0 comments on commit af980d0

Please sign in to comment.