diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-18 21:50:48 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-18 21:50:48 +0000 |
commit | 06d288a64186e19c74e58323329f6796332b46a6 (patch) | |
tree | 0bbc41e98929173ce9fc0f2fdc7f0cd887c3cc3a /gcc | |
parent | 80d265868e55d041c97020cfcc808b4ea282e5de (diff) | |
download | gcc-06d288a64186e19c74e58323329f6796332b46a6.tar.gz |
2014-12-18 Vladimir Makarov <vmakarov@redhat.com>
* lra-constraints.c (lra-constraints.c): Exchange places of sclass
and dclass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218875 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lra-constraints.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c3a610dae3..72e8dfdc553 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2014-12-18 Vladimir Makarov <vmakarov@redhat.com> + * lra-constraints.c (lra-constraints.c): Exchange places of sclass + and dclass. + +2014-12-18 Vladimir Makarov <vmakarov@redhat.com> + PR rtl-optimization/64291 * lra-remat.c (bad_for_rematerialization_p): Add UNPSEC_VLOATILE. (create_cands): Process only output reload insn with potential 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. */ |