diff options
author | Tamar Christina <tamar.christina@arm.com> | 2021-03-30 14:16:03 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2021-03-30 14:16:03 +0100 |
commit | 9c68e2abe294a48385224cd7617eca0720144b5c (patch) | |
tree | ca2f23791d9eea0b50e619a244a9b5f8968f538f /gcc/cgraphclones.c | |
parent | 6f93a7c7fc62b2d6ab47e5d5eb60d41366e1ee9e (diff) | |
download | gcc-9c68e2abe294a48385224cd7617eca0720144b5c.zip gcc-9c68e2abe294a48385224cd7617eca0720144b5c.tar.gz gcc-9c68e2abe294a48385224cd7617eca0720144b5c.tar.bz2 |
slp: reject non-multiple of 2 laned SLP trees (PR99825)
TWO_OPERANDS allows any order or number of combinations of + and - operations
but the pattern matcher only supports pairs of operations.
This patch has the pattern matcher for complex numbers reject SLP trees where
the lanes are not a multiple of 2.
gcc/ChangeLog:
PR tree-optimization/99825
* tree-vect-slp-patterns.c (vect_check_evenodd_blend):
Reject non-mult 2 lanes.
gcc/testsuite/ChangeLog:
PR tree-optimization/99825
* gfortran.dg/vect/pr99825.f90: New test.
Diffstat (limited to 'gcc/cgraphclones.c')
0 files changed, 0 insertions, 0 deletions