aboutsummaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-10-14 15:37:51 +0200
committerRichard Biener <rguenther@suse.de>2020-10-16 13:44:37 +0200
commit6c6e0cafa38cee8309f37b846cb7db813a472a54 (patch)
treebe453072dd2cb2876e9f70853057e27b043f5af7 /gcc/errors.c
parent377535881166969dba43794f298170978d797ef6 (diff)
downloadgcc-6c6e0cafa38cee8309f37b846cb7db813a472a54.zip
gcc-6c6e0cafa38cee8309f37b846cb7db813a472a54.tar.gz
gcc-6c6e0cafa38cee8309f37b846cb7db813a472a54.tar.bz2
Adjust BB vectorization SLP build heuristics
This changes SLP def gathering to not fail due to mismatched def type but instead demote the def to external. This allows the new testcase to be vectorized in full (with GCC 10 it is not vectorized at all and with current trunk we vectorize only the store). This is important since with BB vectorization being applied to bigger pieces of code the chance that we mix internal and external defs for an operand that should end up treated as external (built from scalars) increases. 2020-10-16 Richard Biener <rguenther@suse.de> * tree-vect-slp.c (vect_get_and_check_slp_defs): For BB vectorization swap operands only if it helps, demote mismatches to external. * gcc.dg/vect/bb-slp-53.c: New testcase.
Diffstat (limited to 'gcc/errors.c')
0 files changed, 0 insertions, 0 deletions