From: Segher Boessenkool Date: Fri, 10 May 2019 00:08:41 +0000 (+0200) Subject: combine: Don't generate IF_THEN_ELSE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ddbb5da5199fb421dc398911c37fa7f896efc13f;p=gcc.git combine: Don't generate IF_THEN_ELSE On all targets I managed to test (21) this results in better code. Only alpha ends up with slightly bigger code. * combine.c (combine_simplify_rtx): Don't make IF_THEN_ELSE RTL. From-SVN: r271047 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce9d3ceb9c5..4d2dc8cc117 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-05-09 Segher Boessenkool + + * combine.c (combine_simplify_rtx): Don't make IF_THEN_ELSE RTL. + 2019-05-09 Bill Schmidt * doc/loop.texi: Remove reference to FOR_EACH_LOOP_BREAK. diff --git a/gcc/combine.c b/gcc/combine.c index 4de759a8e6b..ce7aeecb5c2 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -5909,14 +5909,6 @@ combine_simplify_rtx (rtx x, machine_mode op0_mode, int in_dest, mode, VOIDmode, cond, cop1), mode); - else - return gen_rtx_IF_THEN_ELSE (mode, - simplify_gen_relational (cond_code, - mode, - VOIDmode, - cond, - cop1), - true_rtx, false_rtx); code = GET_CODE (x); op0_mode = VOIDmode;