postreload.c (reload_cse_simplify_operands): Take attribute enabled into account.

* postreload.c (reload_cse_simplify_operands): Take attribute enabled
	into account.

From-SVN: r162812
This commit is contained in:
Bernd Schmidt 2010-08-02 09:42:37 +00:00 committed by Bernd Schmidt
parent 0eeeef0768
commit f37e278a15
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-08-02 Bernd Schmidt <bernds@codesourcery.com>
* postreload.c (reload_cse_simplify_operands): Take attribute enabled
into account.
2010-08-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (COSTS_N_INSNS): Remove definition.

View File

@ -573,6 +573,7 @@ reload_cse_simplify_operands (rtx insn, rtx testreg)
alternative yet and the operand being replaced is not
a cheap CONST_INT. */
if (op_alt_regno[i][j] == -1
&& recog_data.alternative_enabled_p[j]
&& reg_fits_class_p (testreg, rclass, 0, mode)
&& (!CONST_INT_P (recog_data.operand[i])
|| (rtx_cost (recog_data.operand[i], SET,