loop.c (canonicalize_condition): use destination, not source to determine set's mode.

* loop.c (canonicalize_condition):  use destination, not source to
	determine set's mode.

From-SVN: r35409
This commit is contained in:
Jan Hubicka 2000-08-01 10:36:25 +00:00 committed by Jan Hubicka
parent f5fddab524
commit 6d90e7c0bb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Aug 1 12:34:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
* loop.c (canonicalize_condition): Use destination, not source to
determine SET's mode.
2000-07-31 Mark Mitchell <mark@codesourcery.com>
* flow.c (clear_log_links): Fix typo.

View File

@ -9017,7 +9017,7 @@ canonicalize_condition (insn, cond, reverse, earliest, want_reg)
relevant. */
if (rtx_equal_p (SET_DEST (set), op0))
{
enum machine_mode inner_mode = GET_MODE (SET_SRC (set));
enum machine_mode inner_mode = GET_MODE (SET_DEST (set));
/* ??? We may not combine comparisons done in a CCmode with
comparisons not done in a CCmode. This is to aid targets