« Return to Thread: [PATCH] Fix PR37053: Move tweaks of commutative precedence to target hook

Re: [PATCH] Fix PR37053: Move tweaks of commutative precedence to target hook

by Peter Bergner-2 :: Rate this Message:

Reply to Author | View in Thread

On Fri, 2009-06-26 at 20:33 +0400, Maxim Kuvyrkov wrote:
> +static int
> +rs6000_commutative_operand_precedence (const_rtx op, int value)
> +{
> +  /* Prefer pointer objects over non pointer objects.
> +     For rationale see PR28690.  */
> +  if (GET_RTX_CLASS (GET_CODE (op)) == RTX_OBJ
>
> ... and the patch decrements the value only for RTX_OBJs.

I'm sorry, I completely missed that hunk.  In that case, it does look
equivalent.  Luis' test runs will verify that.

Peter



 « Return to Thread: [PATCH] Fix PR37053: Move tweaks of commutative precedence to target hook