https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81504
--- Comment #8 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Fri Aug 25 15:08:30 2017 New Revision: 251355 URL: https://gcc.gnu.org/viewcvs?rev=251355&root=gcc&view=rev Log: 2017-08-25 Bill Schmidt <wschm...@linux.vnet.ibm.com> PR target/81504 * config/rs6000/rs6000-p8swap.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: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000-p8swap.c