Commit 8b8e23de by Robert Suchanek Committed by Matthew Fortune

Adjust handling of word sized subregs for OP_OUT

gcc/
	* lra-constraints.c (curr_insn_transform): Change a reload pseudo of
	type OP_OUT to OP_INOUT.

From-SVN: r219730
parent ece4d1ac
2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com> 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
* lra-constraints.c (curr_insn_transform): Change a reload pseudo of
type OP_OUT to OP_INOUT.
2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
* simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
(high x) y) to y if x and y have the same base. (high x) y) to y if x and y have the same base.
......
...@@ -3802,6 +3802,8 @@ curr_insn_transform (bool check_only_p) ...@@ -3802,6 +3802,8 @@ curr_insn_transform (bool check_only_p)
(ira_class_hard_regs[goal_alt[i]][0], (ira_class_hard_regs[goal_alt[i]][0],
GET_MODE (reg), byte, mode) >= 0))))) GET_MODE (reg), byte, mode) >= 0)))))
{ {
if (type == OP_OUT)
type = OP_INOUT;
loc = &SUBREG_REG (*loc); loc = &SUBREG_REG (*loc);
mode = GET_MODE (*loc); mode = GET_MODE (*loc);
} }
......
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