aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-08-21 13:09:31 +0200
committerRichard Biener <rguenther@suse.de>2023-08-21 13:09:31 +0200
commit4c5712ff47d86a742038477f945d539289c9a7a9 (patch)
treeb8e96b6d96a48c522ac996c82af8720aad372a99 /gcc
parent6450397ed025fbaf5cbfd5ff15f36520c5fece5c (diff)
downloadgcc-4c5712ff47d86a742038477f945d539289c9a7a9.zip
gcc-4c5712ff47d86a742038477f945d539289c9a7a9.tar.gz
gcc-4c5712ff47d86a742038477f945d539289c9a7a9.tar.bz2
Fix gcc.dg/vect/bb-slp-46.c FAIL
When relaxing vectorization of possibly overflowing reductions I failed to update a testcase that will now vectorize and no longer test for what it was written for. The following replaces the vectorizable add with a division. * gcc.dg/vect/bb-slp-46.c: Use division instead of addition to avoid reduction vectorization.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/vect/bb-slp-46.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-46.c b/gcc/testsuite/gcc.dg/vect/bb-slp-46.c
index 98b2906..4eceea4 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-46.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-46.c
@@ -15,7 +15,7 @@ int foo ()
a[1] = tem1;
a[2] = tem2;
a[3] = tem3;
- return temx + temy;
+ return temx / temy;
}
/* We should extract the live lane from the vectorized add rather than