[vect] PR92317: fix skip_epilogue creation for epilogues
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 6 Nov 2019 11:22:35 +0000 (11:22 +0000)
committerAndre Vieira <avieira@gcc.gnu.org>
Wed, 6 Nov 2019 11:22:35 +0000 (11:22 +0000)
commit2e7a4f579b1157754ea20a03431b4fa80cd4567a
treeaaf27c52aa95d14e8b7ddb3b27621128025f43ca
parent3cf3da88be453f3fceaa596ee78be8d1e5aa21ca
[vect] PR92317: fix skip_epilogue creation for epilogues

gcc/ChangeLog:
2019-11-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>

PR tree-optimization/92317
* tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard2): Also
update phi's with constant phi arguments.

gcc/testsuite/ChangeLog:
2019-11-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>

PR tree-optimization/92317
* gcc/testsuite/g++.dg/opt/pr92317.C: New test.

From-SVN: r277877
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr92317.C [new file with mode: 0644]
gcc/tree-vect-loop-manip.c