Commit eda833e3 by Ben Elliston Committed by Ben Elliston

arm.c (arm_adjust_cost): Correct logic that tests the return values from recog_memoized().

2003-04-26  Ben Elliston  <bje@wasabisystems.com>

	* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
	return values from recog_memoized().

From-SVN: r66064
parent ee8ce6db
2003-04-26 Ben Elliston <bje@wasabisystems.com>
* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
return values from recog_memoized().
2003-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2003-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR opt/8705 PR opt/8705
......
...@@ -3474,8 +3474,8 @@ arm_adjust_cost (insn, link, dep, cost) ...@@ -3474,8 +3474,8 @@ arm_adjust_cost (insn, link, dep, cost)
on precisely how certain input operands are used. */ on precisely how certain input operands are used. */
if (arm_is_xscale if (arm_is_xscale
&& REG_NOTE_KIND (link) == 0 && REG_NOTE_KIND (link) == 0
&& recog_memoized (insn) < 0 && recog_memoized (insn) >= 0
&& recog_memoized (dep) < 0) && recog_memoized (dep) >= 0)
{ {
int shift_opnum = get_attr_shift (insn); int shift_opnum = get_attr_shift (insn);
enum attr_type attr_type = get_attr_type (dep); enum attr_type attr_type = get_attr_type (dep);
......
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