Skip to content

Commit

Permalink
Merge pull request #4169 from povik/clean-opt_clean-step2
Browse files Browse the repository at this point in the history
opt_clean: Remove dead assertion
  • Loading branch information
povik authored Apr 13, 2024
2 parents ed46453 + 23c9828 commit 4a8cdfa
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions passes/opt/opt_clean.cc
Original file line number Diff line number Diff line change
Expand Up @@ -443,13 +443,6 @@ bool rmunused_module_signals(RTLIL::Module *module, bool purge_mode, bool verbos
if (!raw_used_signals.check_any(s1)) {
// delete wires that aren't used by anything directly
goto delete_this_wire;
} else
if (!used_signals.check_any(s2)) {
// this path shouldn't be possible: this wire is used directly (otherwise it would get cleaned up above), and indirectly
// used wires are a superset of those used directly
log_assert(false);
// delete wires that aren't used by anything indirectly, even though other wires may alias it
goto delete_this_wire;
}

if (0)
Expand Down

0 comments on commit 4a8cdfa

Please sign in to comment.