Commit ebfcd719 by Kyrylo Tkachov Committed by Kyrylo Tkachov

arm.c (arm_legitimize_reload_address): Explain why plus_constant is not used.

2013-10-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm.c (arm_legitimize_reload_address): Explain why
	plus_constant is not used.

From-SVN: r203106
parent 2303ffb9
2013-10-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (arm_legitimize_reload_address): Explain why
plus_constant is not used.
2013-10-01 Wei Mi <wmi@google.com>
* config/i386/x86-tune.def (DEF_TUNE): Remove
......
......@@ -7015,7 +7015,11 @@ arm_legitimize_reload_address (rtx *p,
return false;
/* Reload the high part into a base reg; leave the low part
in the mem. */
in the mem.
Note that replacing this gen_rtx_PLUS with plus_constant is
wrong in this case because we rely on the
(plus (plus reg c1) c2) structure being preserved so that
XEXP (*p, 0) in push_reload below uses the correct term. */
*p = gen_rtx_PLUS (GET_MODE (*p),
gen_rtx_PLUS (GET_MODE (*p), XEXP (*p, 0),
GEN_INT (high)),
......
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