lra-constraints.c (lra-constraints.c): Exchange places of sclass and dclass.

2014-12-18  Vladimir Makarov  <vmakarov@redhat.com>

	* lra-constraints.c (lra-constraints.c): Exchange places of sclass
	and dclass.

From-SVN: r218875
This commit is contained in:
Vladimir Makarov 2014-12-18 21:50:48 +00:00 committed by Vladimir Makarov
parent 32b38e8972
commit 03b9b5ce20
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-12-18 Vladimir Makarov <vmakarov@redhat.com>
* lra-constraints.c (lra-constraints.c): Exchange places of sclass
and dclass.
2014-12-18 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/64291

View File

@ -3197,7 +3197,7 @@ simple_move_p (void)
&& (sclass = get_op_class (src)) != NO_REGS
/* The backend guarantees that register moves of cost 2
never need reloads. */
&& targetm.register_move_cost (GET_MODE (src), dclass, sclass) == 2);
&& targetm.register_move_cost (GET_MODE (src), sclass, dclass) == 2);
}
/* Swap operands NOP and NOP + 1. */