Commit 5306401f by Vladimir Makarov Committed by Vladimir Makarov

lra-constraints.c (process_alt_operands): Fix recently added comment.

2013-02-07  Vladimir Makarov  <vmakarov@redhat.com>

	* lra-constraints.c (process_alt_operands): Fix recently added
	comment.

From-SVN: r195857
parent 027ece11
2013-02-07 Vladimir Makarov <vmakarov@redhat.com> 2013-02-07 Vladimir Makarov <vmakarov@redhat.com>
* lra-constraints.c (process_alt_operands): Fix recently added
comment.
2013-02-07 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/56225 PR rtl-optimization/56225
* lra-constraints.c (process_alt_operands): Check that reload hard * lra-constraints.c (process_alt_operands): Check that reload hard
reg can hold value for strict_low_part. reg can hold value for strict_low_part.
......
...@@ -1896,10 +1896,10 @@ process_alt_operands (int only_alternative) ...@@ -1896,10 +1896,10 @@ process_alt_operands (int only_alternative)
mode, hard_regno[nop]) mode, hard_regno[nop])
: in_class_p (op, this_alternative, NULL)))) : in_class_p (op, this_alternative, NULL))))
{ {
/* Strict_low_part requires reload the register not /* Strict_low_part requires to reload the register
the sub-register. In this case we should check not the sub-register. In this case we should
that a final reload hard reg can hold the check that a final reload hard reg can hold the
value. */ value mode. */
if (curr_static_id->operand[nop].strict_low if (curr_static_id->operand[nop].strict_low
&& REG_P (op) && REG_P (op)
&& hard_regno[nop] < 0 && hard_regno[nop] < 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment