aboutsummaryrefslogtreecommitdiff
path: root/libgo/aclocal.m4
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2025-08-19 10:18:04 +0100
committerTamar Christina <tamar.christina@arm.com>2025-08-19 10:18:04 +0100
commit7d72cad143ff6933f2f90018c65d6c861c387e4d (patch)
treefeb199fbf75a8c3554d086b835bfee99a5c5f080 /libgo/aclocal.m4
parent08cdd61e70c9c33a7a33b9c656cbc2ccb2914bd1 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
AArch64: Use vectype from SLP node instead of stmt_info [PR121536]HEADtrunkmaster
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 'libgo/aclocal.m4')
0 files changed, 0 insertions, 0 deletions