Remove redundant check (done further down)
authorEddie Hung <eddie@fpgeh.com>
Thu, 27 Jun 2019 00:13:56 +0000 (17:13 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 27 Jun 2019 00:13:56 +0000 (17:13 -0700)
passes/techmap/muxcover.cc

index ce9d145d476b1cfb29b529de8e7f24685e07825f..b162fae2297d385edd4a70165ad00afd041b7c18 100644 (file)
@@ -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<SigBit, SigBit, SigBit> key(A, B, sel);