Decompose Mul(x, 2**b + 2**a) into y = x + x << (b - a), y << a instead of y = x...
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 16 Oct 2007 20:57:43 +0000 (20:57 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 16 Oct 2007 20:57:43 +0000 (20:57 +0000)
commit82bbb89e3fee377d14576d4dfcccb72dede81d62
tree500133e3cecb087dee0df8aca016a6a6dac320ad
parent3320a27b5aba48c1a71af420380d80ef414753a8
Decompose Mul(x, 2**b + 2**a) into y = x + x << (b - a), y << a instead of y = x << a, y + y << (b - a). This is beneficial for address mode generation.

[r16240]
ir/ir/irarch.c