testsuite: add another test for the rotate vectorization miscompilation
authorJakub Jelinek <jakub@redhat.com>
Fri, 18 Sep 2020 13:05:53 +0000 (15:05 +0200)
committerJakub Jelinek <jakub@redhat.com>
Fri, 18 Sep 2020 13:05:53 +0000 (15:05 +0200)
commit3d3fe967b0961cb59f5df03ae2a55d83dc4bbd34
treeff18f576ddc0e1c2844afb2c3cfcbe528dad8c99
parent9c9b88fdcff3520b2c4fb520c5d3b422eaa9a72f
testsuite: add another test for the rotate vectorization miscompilation

This time with short and char where the used mask used to be larger
than it should have been.

2020-09-18  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/97081
* gcc.dg/vect/pr97081-2.c: New test.
gcc/testsuite/gcc.dg/vect/pr97081-2.c [new file with mode: 0644]