re PR target/81504 (gcc-7 regression: vec_st in loop misoptimized)
authorWilliam Schmidt <wschmidt@gcc.gnu.org>
Fri, 25 Aug 2017 15:08:30 +0000 (15:08 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Fri, 25 Aug 2017 15:08:30 +0000 (15:08 +0000)
commit55d14001d913459a089e5ba81b87672fb58d711b
treebdae587840d4003efa2e43ede75a1501d8470b69
parent56b26dd40956052f62cf5ed5ff678d2cd758e0ec
re PR target/81504 (gcc-7 regression: vec_st  in loop misoptimized)

2017-08-25  Bill Schmidt  <wschmidt@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.

From-SVN: r251355
gcc/ChangeLog
gcc/config/rs6000/rs6000-p8swap.c