From: Eddie Hung Date: Fri, 9 Aug 2019 19:43:21 +0000 (-0700) Subject: Grammar X-Git-Tag: working-ls180~1149^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=849e0eeab4408ed23d16abbf9d98a3603b770514;p=yosys.git Grammar --- diff --git a/passes/opt/opt_expr.cc b/passes/opt/opt_expr.cc index 0ddfa5e4c..66f360f6e 100644 --- a/passes/opt/opt_expr.cc +++ b/passes/opt/opt_expr.cc @@ -684,7 +684,7 @@ void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons bool sub = (sig_ci == State::S1 && sig_bi == State::S1); // If not a subtraction, yet there is a carry or B is inverted - // then no optimisation is possible as carry is not constant + // then no optimisation is possible as carry will not be constant if (!sub && (sig_ci != State::S0 || sig_bi != State::S0)) goto next_cell;