Skip to content

Commit

Permalink
Update instr.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes authored Nov 27, 2023
1 parent 9eef40f commit 1f0f220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ir/instr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ StateValue BinOp::toSMT(State &s) const {

case Or:
fn = [&](auto &a, auto &ap, auto &b, auto &bp) -> StateValue {
return { a | b, flags & Disjoint ? (a & b).isZero() : true };
return { a | b, (flags & Disjoint) ? (a & b) == 0 : true };
};
break;

Expand Down

0 comments on commit 1f0f220

Please sign in to comment.