peepopt.muldiv: Add a signedness check.
authorMarcelina Kościelnicka <mwk@0x04.net>
Tue, 4 Aug 2020 14:30:24 +0000 (16:30 +0200)
committerMarcelina Kościelnicka <mwk@0x04.net>
Tue, 4 Aug 2020 14:30:24 +0000 (16:30 +0200)
commite89cc9c02fc5d9ff2a6eedc524e7c0420666ac22
treef92ae3922768bccd01aa159c85638d6b868e7945
parentc39ebe6ae0e41cf9a84da852fa3cf9f71937a9b2
peepopt.muldiv: Add a signedness check.

Fixes #2318.
passes/pmgen/peepopt_muldiv.pmg
tests/opt/bug2318.ys [new file with mode: 0644]