diff options
author | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2023-10-19 18:28:12 +0100 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2023-10-19 18:30:25 +0100 |
commit | 8b704ed0b8f35ec1a57e70bd8e6913ba0e9d1f24 (patch) | |
tree | 2f55086b9e5933ea220d524fdb2f0c406f74d131 /gcc/cp/constexpr.cc | |
parent | c9ce846763c3d220c754ac0a327e275ac00a83e1 (diff) | |
download | gcc-8b704ed0b8f35ec1a57e70bd8e6913ba0e9d1f24.zip gcc-8b704ed0b8f35ec1a57e70bd8e6913ba0e9d1f24.tar.gz gcc-8b704ed0b8f35ec1a57e70bd8e6913ba0e9d1f24.tar.bz2 |
vect: don't allow fully masked loops with non-masked simd clones [PR 110485]
When analyzing a loop and choosing a simdclone to use it is possible to choose
a simdclone that cannot be used 'inbranch' for a loop that can use partial
vectors. This may lead to the vectorizer deciding to use partial vectors which
are not supported for notinbranch simd clones. This patch fixes that by
disabling the use of partial vectors once a notinbranch simd clone has been
selected.
gcc/ChangeLog:
PR tree-optimization/110485
* tree-vect-stmts.cc (vectorizable_simd_clone_call): Disable partial
vectors usage if a notinbranch simdclone has been selected.
gcc/testsuite/ChangeLog:
* gcc.dg/gomp/pr110485.c: New test.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions