fp-vrp: Simplify test when optimising Minus(x0...0).
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 5 Dec 2012 09:22:14 +0000 (10:22 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 5 Dec 2012 09:28:20 +0000 (10:28 +0100)
commit22c2fe6b8fbb1f9886016f468be8a178aacee6aa
tree492b41829cc78c5bb05abb5f4351c857e51bbb95
parent76e5562064bbd6b914cff1cd26306e6a6b885961
fp-vrp: Simplify test when optimising Minus(x0...0).

It is sufficient to test, whether the zero bits equal the minimal value.
If they are all zero, the result is constant and this optimisation is unnecessary.
ir/opt/fp-vrp.c