Do not use shiftmul peepopt pattern when mul result is truncated, fixes #1047
authorClifford Wolf <clifford@clifford.at>
Tue, 28 May 2019 13:33:47 +0000 (15:33 +0200)
committerClifford Wolf <clifford@clifford.at>
Tue, 28 May 2019 15:17:56 +0000 (17:17 +0200)
commitcb285e4b87112779efe84a7b6c5ae4a76a69ae01
treef5fa3daeda4b05eb8833330e5a8c09f4d33487d3
parent2a11c48782d31cd6f9c181f7ff52984cc2ae0351
Do not use shiftmul peepopt pattern when mul result is truncated, fixes #1047

Signed-off-by: Clifford Wolf <clifford@clifford.at>
passes/pmgen/peepopt_shiftmul.pmg
tests/simple/peepopt.v