From: Clifford Wolf Date: Mon, 15 Sep 2014 09:29:09 +0000 (+0200) Subject: Fixed wreduce $shiftx handling X-Git-Tag: yosys-0.4~127 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2cbdbaad1f81f76422455901f1987d886fa10d19;p=yosys.git Fixed wreduce $shiftx handling --- diff --git a/passes/opt/wreduce.cc b/passes/opt/wreduce.cc index 9e43bb902..58a6d1b0d 100644 --- a/passes/opt/wreduce.cc +++ b/passes/opt/wreduce.cc @@ -186,7 +186,7 @@ struct WreduceWorker bool port_a_signed = false; bool port_b_signed = false; - if (max_port_a_size >= 0) + if (max_port_a_size >= 0 && cell->type != "$shiftx") run_reduce_inport(cell, 'A', max_port_a_size, port_a_signed, did_something); if (max_port_b_size >= 0)