diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2016-08-15 18:17:21 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2016-08-15 18:17:21 +0200 |
commit | 2008be405c16e8b7ca5399fb9e6fb25aa92f03a3 (patch) | |
tree | 52262637556ee25a677df422ac164d71edacb802 /gcc/fortran/dump-parse-tree.c | |
parent | 5c578ae4348bddb97991348c2d0a05e3e7d7ad5a (diff) | |
download | gcc-2008be405c16e8b7ca5399fb9e6fb25aa92f03a3.zip gcc-2008be405c16e8b7ca5399fb9e6fb25aa92f03a3.tar.gz gcc-2008be405c16e8b7ca5399fb9e6fb25aa92f03a3.tar.bz2 |
lra: A multiple_sets is not a simple_move_p (PR73650)
In the PR we have a PARALLEL of a move and a compare (a "mr." instruction).
The compare is dead, so single_set on it returns just the move. Then,
simple_move_p returns true; but the instruction does need reloads in this
case. This patch solves this by making simple_move_p return false for
every multiple_sets instruction.
PR rtl-optimization/73650
* lra-constraints.c (simple_move_p): If the insn is multiple_sets
it is not a simple move.
From-SVN: r239483
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
0 files changed, 0 insertions, 0 deletions