]> git.ipfire.org Git - thirdparty/gcc.git/commit
[testsuite] Fix PR94023 to guard case under vect_hw_misalign
authorKewen Lin <linkw@linux.ibm.com>
Mon, 9 Mar 2020 02:34:13 +0000 (21:34 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Tue, 17 Mar 2020 03:10:22 +0000 (22:10 -0500)
commit62960ccdefe60f29897f4bae8ea6a2f3f385fc47
treef2c9c43bc28042b192f81838448a479c3455d10c
parent9a532a94e35008869dafc0e70301f1cff9700f20
[testsuite] Fix PR94023 to guard case under vect_hw_misalign

As PR94023 shows, the expected SLP requires misaligned vector access
support.  This patch is to guard the check under the target condition
vect_hw_misalign to ensure that.

2020-03-17  Kewen Lin  <linkw@gcc.gnu.org>

    Backport from master
    2020-03-09  Kewen Lin  <linkw@gcc.gnu.org>

    PR testsuite/94023
    * gcc.dg/vect/slp-perm-12.c: Expect loop vectorized messages only on
    vect_hw_misalign targets.
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/slp-perm-12.c