opt_expr: Fix crash on $mul optimization with more zeros removed than Y has.
authorMarcelina Kościelnicka <mwk@0x04.net>
Sat, 4 Jul 2020 22:55:38 +0000 (00:55 +0200)
committerMarcelina Kościelnicka <mwk@0x04.net>
Sun, 5 Jul 2020 04:31:58 +0000 (06:31 +0200)
commit7afcb72c98620adaace7cc9622c4d577668f9426
tree762818adb15f5a4a1611d5f9ff1facbcd966bca9
parentb004f0901873962ba4a6fd3e12c7bc0cc1e04032
opt_expr: Fix crash on $mul optimization with more zeros removed than Y has.

Fixes #2221.
passes/opt/opt_expr.cc
tests/opt/bug2221.ys [new file with mode: 0644]