combine.c (combine_simplify_rtx): Adjust call to use simplify_relational_operation.
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 29 Apr 2004 07:50:55 +0000 (07:50 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Thu, 29 Apr 2004 07:50:55 +0000 (07:50 +0000)
commitc6fb08ad284af074092aa4fb9edd1a9a44014b49
tree4be29049b780d10dd9423c8ad52d77c6929b956b
parent6cf1ac42db0684f0c386ec9a665ddcaa12a4f1c9
combine.c (combine_simplify_rtx): Adjust call to use simplify_relational_operation.

2004-04-29  Paolo Bonzini  <bonzini@gnu.org>

        * combine.c (combine_simplify_rtx): Adjust call to use
        simplify_relational_operation.  Do not use SELECT_CC_MODE
        when a comparison already has a MODE_CC mode.
        (simplify_set): simplify_relational_operation may now
        return another relational expression.
        * cse.c (fold_rtx): simplify_relational_operation now
        takes of computing the comparison mode.
        * dojump.c (compare_from_rtx): Use simplify_relational_operation,
        remove dead code.
        (do_compare_rtx_and_jump): Likewise.
        * integrate.c (subst_constants): simplify_relational_operation
        may now return another relational expression.
        * simplify-rtx.c (simplify_gen_relational): Move most code to
        the new simplify_relational_operation and
        simplify_relational_operation_1 functions.
        (simplify_relational_operation): Rewritten.
        (simplify_relational_operation_1): New function.
        (simplify_ternary_operation): simplify_relational_operation
        may now return another relational expression.
        (simplify_rtx): Remove unnecessary temp variable.

From-SVN: r81282
gcc/ChangeLog
gcc/combine.c
gcc/cse.c
gcc/dojump.c
gcc/integrate.c
gcc/simplify-rtx.c