This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81504] [7/8 Regression] gcc-7 regression: vec_st in loop misoptimized
- From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 31 Aug 2017 20:28:48 +0000
- Subject: [Bug target/81504] [7/8 Regression] gcc-7 regression: vec_st in loop misoptimized
- Auto-submitted: auto-generated
- References: <bug-81504-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81504
--- Comment #10 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Thu Aug 31 20:28:17 2017
New Revision: 251575
URL: https://gcc.gnu.org/viewcvs?rev=251575&root=gcc&view=rev
Log:
2017-08-31 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline
2017-08-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/81504
* config/rs6000/rs6000.c (find_alignment_op): Add reference
parameter and_insn and return it.
(recombine_lvx_pattern): Insert a copy to ensure availability of
the base register of the copied masking operation at the point of
the instruction replacement.
(recombine_stvx_pattern): Likewise.
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/rs6000/rs6000.c