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
This commit is contained in:
Tom de Vries 2014-06-25 19:23:02 +00:00 committed by Tom de Vries
parent f9bb13f37b
commit db88b44958
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
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

View file

@ -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));
}
}