- Change ~(x - 1) -> -x to ~(x + -1) -> -x, because the former pattern is always...
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 19 Sep 2007 19:01:12 +0000 (19:01 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 19 Sep 2007 19:01:12 +0000 (19:01 +0000)
commitf3af019bafbd297cd79b101bec33687b96c3475b
treead725778b67490aa1bcfa540cacd3d756e7623f1
parenta3aac700b76408de6e0212ad5725306385fc96ac
- Change ~(x - 1) -> -x to ~(x + -1) -> -x, because the former pattern is always changed into the latter pattern.
 - Also only allow this transformation with two's complement arithmetics.

[r15883]
ir/ir/iropt.c