opt_share: Fix X and CO signal width for shifted $alu in opt_share.
authorMarcelina Kościelnicka <mwk@0x04.net>
Thu, 14 Jan 2021 08:58:33 +0000 (09:58 +0100)
committerMarcelina Kościelnicka <mwk@0x04.net>
Thu, 14 Jan 2021 13:54:08 +0000 (14:54 +0100)
commit01626e6746e85832d5b75785b9e45f39ff8eb299
treee32c1fcb601b283525d38bab8d1d2861f45e9118
parent7cd044bbc4cc4b63302363f77d913403957fdcd3
opt_share: Fix X and CO signal width for shifted $alu in opt_share.

These need to be the same length as actual Y, not visible part of Y.

Fixes #2538.
passes/opt/opt_share.cc
tests/opt/opt_share_bug2538.ys [new file with mode: 0644]