aboutsummaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-03 14:29:48 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-06-03 14:29:48 -0700
commit2ef0a555115b893fcd775844882435e07552b4b9 (patch)
tree474d4af43e85adcdc142a5e4c94f30a48a445a94 /gcc/ifcvt.c
parentb0c242c02902036570dc8c65f76361cc27f2f119 (diff)
downloadgcc-2ef0a555115b893fcd775844882435e07552b4b9.zip
gcc-2ef0a555115b893fcd775844882435e07552b4b9.tar.gz
gcc-2ef0a555115b893fcd775844882435e07552b4b9.tar.bz2
optabs.c (expand_abs_nojump): Split out from ...
* optabs.c (expand_abs_nojump): Split out from ... (expand_abs): ... here. * optabs.h (expand_abs_nojump): Declare. * ifcvt.c: (noce_try_abs): Use expand_abs_nojump. * Makefile.in (ifcvt.o): Depend on optabs.h. From-SVN: r67404
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r--gcc/ifcvt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index ec7286b..caa54c5 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -35,6 +35,7 @@
#include "expr.h"
#include "real.h"
#include "output.h"
+#include "optabs.h"
#include "toplev.h"
#include "tm_p.h"
@@ -1602,7 +1603,7 @@ noce_try_abs (if_info)
start_sequence ();
- target = expand_simple_unop (GET_MODE (if_info->x), ABS, b, if_info->x, 0);
+ target = expand_abs_nojump (GET_MODE (if_info->x), b, if_info->x, 1);
/* ??? It's a quandry whether cmove would be better here, especially
for integers. Perhaps combine will clean things up. */