diff options
author | Tamar Christina <tamar.christina@arm.com> | 2025-08-19 10:18:04 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2025-08-19 10:18:04 +0100 |
commit | 7d72cad143ff6933f2f90018c65d6c861c387e4d (patch) | |
tree | feb199fbf75a8c3554d086b835bfee99a5c5f080 /gcc/testsuite/gdc.dg/simd19630b.d | |
parent | 08cdd61e70c9c33a7a33b9c656cbc2ccb2914bd1 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
commit g:1786be14e94bf1a7806b9dc09186f021737f0227 stops storing in
STMT_VINFO_VECTYPE the vectype of the current stmt being vectorized and instead
requires the use of SLP_TREE_VECTYPE for everything but data-refs.
This means that STMT_VINFO_VECTYPE (stmt_info) will always be NULL and so
aarch64_bool_compound_p will never properly cost predicate AND operations
anymore resulting in less vectorization.
This patch changes it to use SLP_TREE_VECTYPE and pass the slp_node to
aarch64_bool_compound_p.
gcc/ChangeLog:
PR target/121536
* config/aarch64/aarch64.cc (aarch64_bool_compound_p): Use
SLP_TREE_VECTYPE instead of STMT_VINFO_VECTYPE.
(aarch64_adjust_stmt_cost, aarch64_vector_costs::count_ops): Pass SLP
node to aarch64_bool_compound_p.
gcc/testsuite/ChangeLog:
PR target/121536
* g++.target/aarch64/sve/pr121536.cc: New test.
Diffstat (limited to 'gcc/testsuite/gdc.dg/simd19630b.d')
0 files changed, 0 insertions, 0 deletions