Commit db88b449 by Tom de Vries Committed by Tom de Vries

Remove superfluous clobber of cc in arm_emit_call_insn

2014-06-25  Tom de Vries  <tom@codesourcery.com>

	* config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.

From-SVN: r211990
parent f9bb13f3
2014-06-25 Tom de Vries <tom@codesourcery.com>
* config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.
2014-06-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
* tree-ssa-forwprop.c (associate_plusminus): For widening conversions
......
......@@ -17642,11 +17642,11 @@ arm_emit_call_insn (rtx pat, rtx addr, bool sibcall)
if (TARGET_AAPCS_BASED)
{
/* For AAPCS, IP and CC can be clobbered by veneers inserted by the
linker. We need to add these to allow setting
TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS to true. */
linker. We need to add an IP clobber to allow setting
TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS to true. A CC clobber
is not needed since it's a fixed register. */
rtx *fusage = &CALL_INSN_FUNCTION_USAGE (insn);
clobber_reg (fusage, gen_rtx_REG (word_mode, IP_REGNUM));
clobber_reg (fusage, gen_rtx_REG (word_mode, CC_REGNUM));
}
}
......
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