Skip to content

Commit

Permalink
seer_stat: Fix missing Unique2 summation
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Povišer <povik@cutebit.org>
  • Loading branch information
povik committed Jan 8, 2024
1 parent 65beff2 commit 243b466
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions passes/seer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ struct SeerStatPass : Pass {
bitoffsets[upstream.bit] = std::max(bitoffsets[upstream.bit],
-upstream.offset);
}

for (auto pair : bitoffsets)
nunique_seerbits2 += pair.second;
}

log(" Number of seers: %6d\n", nseers);
Expand Down

0 comments on commit 243b466

Please sign in to comment.