]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine: More make_more_copies
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 10 Nov 2018 23:12:48 +0000 (00:12 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 10 Nov 2018 23:12:48 +0000 (00:12 +0100)
commit16ac6fa5a0537d201abb269ccee396ccb407a770
tree9dd244f9dddcc99a6057cc50ffa101a39b66adad
parentbabe0c748d341aaa2d18fb901ae3e6eb8af4da1a
combine: More make_more_copies

This makes make_more_copies do what its documentation says, that is,
only make an intermediate pseudo if copying to a pseudo.

This regressed generated code quality when we didn't keep the original
notes that were on the copy, but since r265582 we do, and only allowing
pseudos now is a win.  It also simplifies the code.

* combine.c (make_more_copies): Only make an intermediate copy if the
dest of a move is a pseudo.

From-SVN: r266004
gcc/ChangeLog
gcc/combine.c