From: Vladimir Makarov Date: Thu, 18 Dec 2014 21:50:48 +0000 (+0000) Subject: lra-constraints.c (lra-constraints.c): Exchange places of sclass and dclass. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03b9b5ce20cb3f613a28fc5dc4cb8a9eaf422ce5;p=gcc.git lra-constraints.c (lra-constraints.c): Exchange places of sclass and dclass. 2014-12-18 Vladimir Makarov * lra-constraints.c (lra-constraints.c): Exchange places of sclass and dclass. From-SVN: r218875 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c3a610dae3..72e8dfdc553 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-18 Vladimir Makarov + + * lra-constraints.c (lra-constraints.c): Exchange places of sclass + and dclass. + 2014-12-18 Vladimir Makarov PR rtl-optimization/64291 diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 2526954b02a..23fd44db54a 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -3197,7 +3197,7 @@ simple_move_p (void) && (sclass = get_op_class (src)) != NO_REGS /* The backend guarantees that register moves of cost 2 never need reloads. */ - && targetm.register_move_cost (GET_MODE (src), dclass, sclass) == 2); + && targetm.register_move_cost (GET_MODE (src), sclass, dclass) == 2); } /* Swap operands NOP and NOP + 1. */