aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2019-05-10 02:08:41 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2019-05-10 02:08:41 +0200
commitddbb5da5199fb421dc398911c37fa7f896efc13f (patch)
tree2db631d977f2d18287b824652412f8af474d6989 /gcc/combine.c
parentbd0ea08ef42d234ed608d772d709da1cc34b9615 (diff)
downloadgcc-ddbb5da5199fb421dc398911c37fa7f896efc13f.zip
gcc-ddbb5da5199fb421dc398911c37fa7f896efc13f.tar.gz
gcc-ddbb5da5199fb421dc398911c37fa7f896efc13f.tar.bz2
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
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 4de759a..ce7aeec 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;