From 2cbdbaad1f81f76422455901f1987d886fa10d19 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 15 Sep 2014 11:29:09 +0200 Subject: [PATCH] Fixed wreduce $shiftx handling --- passes/opt/wreduce.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2