aboutsummaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-22 01:04:09 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-22 01:04:09 +0000
commit759df569f189ce9e4d015c5b46ea5e2107923c69 (patch)
treea37891e94f721c718315cb660f065ca1c6b6f94a /gcc/ifcvt.c
parent3f393fc679e504e451bbe07cbc15bc013a5700f5 (diff)
downloadgcc-759df569f189ce9e4d015c5b46ea5e2107923c69.zip
gcc-759df569f189ce9e4d015c5b46ea5e2107923c69.tar.gz
gcc-759df569f189ce9e4d015c5b46ea5e2107923c69.tar.bz2
always define HAVE_conditional_move
gcc/ChangeLog: 2015-05-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * genconfig.c (main): Always define HAVE_conditional_move. * combine.c, expmed.c, expr.c, ifcvt.c, optabs.c, optabs.h, toplev.c, tree-ssa-phiopt.c: Don't check if HAVE_conditional_move is defined. From-SVN: r223517
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r--gcc/ifcvt.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index b00aaa4..37117b7 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -72,9 +72,6 @@
#include "shrink-wrap.h"
#include "ifcvt.h"
-#ifndef HAVE_conditional_move
-#define HAVE_conditional_move 0
-#endif
#ifndef HAVE_incscc
#define HAVE_incscc 0
#endif
@@ -1505,7 +1502,6 @@ noce_emit_cmove (struct noce_if_info *if_info, rtx x, enum rtx_code code,
return NULL_RTX;
}
-#if HAVE_conditional_move
unsignedp = (code == LTU || code == GEU
|| code == LEU || code == GTU);
@@ -1562,13 +1558,6 @@ noce_emit_cmove (struct noce_if_info *if_info, rtx x, enum rtx_code code,
}
else
return NULL_RTX;
-#else
- /* We'll never get here, as noce_process_if_block doesn't call the
- functions involved. Ifdef code, however, should be discouraged
- because it leads to typos in the code not selected. However,
- emit_conditional_move won't exist either. */
- return NULL_RTX;
-#endif
}
/* Try only simple constants and registers here. More complex cases