Defer decision whether to create Test(x, x) instead of Cmp(x, 0) until peephole optim...
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 12 Aug 2008 20:56:38 +0000 (20:56 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 12 Aug 2008 20:56:38 +0000 (20:56 +0000)
commit53ad01abe02a0eefd8744cf55e150fa335df2e4d
treebe47f44dd00e57e50e295c73b8ac6e21005d0334
parent52e9462f06cf74a8651f1cc0fcfecb1fe47a9245
Defer decision whether to create Test(x, x) instead of Cmp(x, 0) until peephole optimisation. This improves the code when Cmp(AM, 0) is undone by the flags repair phase.

[r21134]
ir/be/ia32/ia32_optimize.c
ir/be/ia32/ia32_transform.c