Skip to content

Commit

Permalink
Update instr.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes authored Jan 5, 2025
1 parent c1f8af8 commit 11306d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ir/instr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2794,6 +2794,8 @@ StateValue ICmp::toSMT(State &s) const {
auto &m = s.getMemory();
Pointer lhs(m, a.value);
Pointer rhs(m, b.value);
m.observesAddr(lhs);
m.observesAddr(rhs);
np = lhs.getAddress().sign() == rhs.getAddress().sign();
} else {
np = a.value.sign() == b.value.sign();
Expand Down

0 comments on commit 11306d4

Please sign in to comment.