ifcvt.c (struct noce_if_info): Add then_else_reversed field.
authorSteven Bosscher <steven@gcc.gnu.org>
Thu, 29 Mar 2007 12:04:09 +0000 (12:04 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Thu, 29 Mar 2007 12:04:09 +0000 (12:04 +0000)
commitcab6e7717eff3872849ef593073e9e3a6ad47956
treebb9d8684fd23c1a34a7634ee37863dc889f5b85e
parented31d14cafee6f62692ed62e1ca295aa9b1b65ee
ifcvt.c (struct noce_if_info): Add then_else_reversed field.

* ifcvt.c (struct noce_if_info): Add then_else_reversed field.
(noce_get_alt_condition): Look at it to determine whether to
reverse the condition or not.
(noce_get_condition): Substitute the truth for lies.
(noce_find_if_block): Set the then_else_reversed field.

From-SVN: r123327
gcc/ChangeLog
gcc/ifcvt.c