[Bug target/81572] [7 Regression] gcc-7 regression: unnecessary vector regmove on compare
bergner at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 6 15:55:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81572
--- Comment #7 from Peter Bergner <bergner at gcc dot gnu.org> ---
Author: bergner
Date: Tue Mar 6 15:54:30 2018
New Revision: 258280
URL: https://gcc.gnu.org/viewcvs?rev=258280&root=gcc&view=rev
Log:
gcc/
Backport from mainline
2018-02-22 Vladimir Makarov <vmakarov@redhat.com>
PR target/81572
* lra-int.h (LRA_UNKNOWN_ALT, LRA_NON_CLOBBERED_ALT): New macros.
* lra.c (lra_set_insn_recog_data, lra_update_insn_recog_data): Use
LRA_UNKNOWN_ALT.
* lra-constraints.c (curr_insn_transform): Set up
LRA_NON_CLOBBERED_ALT for moves processed on the fast path. Use
LRA_UNKNOWN_ALT.
(remove_inheritance_pseudos): Use LRA_UNKNOWN_ALT.
* lra-eliminations.c (spill_pseudos): Ditto.
(process_insn_for_elimination): Ditto.
* lra-lives.c (reg_early_clobber_p): Use the new macros.
* lra-spills.c (spill_pseudos): Use LRA_UNKNOWN_ALT and
LRA_NON_CLOBBERED_ALT.
gcc/testsuite/
Backport from mainline
2018-02-22 Vladimir Makarov <vmakarov@redhat.com>
PR target/81572
* gcc.target/powerpc/pr81572.c: New.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr81572.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/lra-constraints.c
branches/gcc-7-branch/gcc/lra-eliminations.c
branches/gcc-7-branch/gcc/lra-int.h
branches/gcc-7-branch/gcc/lra-lives.c
branches/gcc-7-branch/gcc/lra-spills.c
branches/gcc-7-branch/gcc/lra.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list