From: Eddie Hung Date: Thu, 27 Jun 2019 00:13:56 +0000 (-0700) Subject: Remove redundant check (done further down) X-Git-Tag: working-ls180~1208^2~62^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7d5ea6e0cc7cc0db7bb510d3d265dafc7aa93ec;p=yosys.git Remove redundant check (done further down) --- diff --git a/passes/techmap/muxcover.cc b/passes/techmap/muxcover.cc index ce9d145d4..b162fae22 100644 --- a/passes/techmap/muxcover.cc +++ b/passes/techmap/muxcover.cc @@ -160,7 +160,7 @@ struct MuxcoverWorker int prepare_decode_mux(SigBit &A, SigBit B, SigBit sel, SigBit bit) { - if (A == B || sel == State::Sx || A == State::Sx || B == State::Sx) + if (A == B || sel == State::Sx) return 0; tuple key(A, B, sel);