back.rtlil: remove useless condition. NFC.

This commit is contained in:
whitequark 2018-12-22 07:24:15 +00:00
parent ae0cb48fbb
commit d29929912f

View file

@ -538,7 +538,6 @@ class _StatementCompiler(xfrm.AbstractStatementTransformer):
self._case = old_case
def on_Assign(self, stmt):
if isinstance(stmt, ast.Assign):
lhs_bits, lhs_sign = stmt.lhs.shape()
rhs_bits, rhs_sign = stmt.rhs.shape()
if lhs_bits == rhs_bits: