ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move.

* ifcvt.c (noce_emit_cmove): Conditionally compile call to
        emit_conditional_move.

From-SVN: r33585
This commit is contained in:
Richard Henderson 2000-05-01 14:21:44 -07:00 committed by Richard Henderson
parent f0b0e152ed
commit 7e04d3c7e3
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-05-01 Richard Henderson <rth@cygnus.com>
* ifcvt.c (noce_emit_cmove): Conditionally compile call to
emit_conditional_move.
2000-05-01 Jakub Jelinek <jakub@redhat.com>
* config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1

View File

@ -758,10 +758,18 @@ noce_emit_cmove (if_info, x, code, cmp_a, cmp_b, vfalse, vtrue)
|| ! general_operand (cmp_b, GET_MODE (cmp_b)))
return NULL_RTX;
#if HAVE_conditional_move
return emit_conditional_move (x, code, cmp_a, cmp_b, VOIDmode,
vtrue, vfalse, GET_MODE (x),
(code == LTU || code == GEU
|| code == LEU || code == GTU));
#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