On all targets I managed to test (21) this results in better code. Only alpha ends up with slightly bigger code.
Committing to trunk. Segher 2019-05-10 Segher Boessenkool <seg...@kernel.crashing.org> * combine.c (combine_simplify_rtx): Don't make IF_THEN_ELSE RTL. --- gcc/combine.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gcc/combine.c b/gcc/combine.c index 7b236225..8c4375f 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -5937,14 +5937,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; -- 1.8.3.1