diff options
author | Richard Biener <rguenther@suse.de> | 2024-03-06 09:25:15 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-03-06 10:27:34 +0100 |
commit | 3a910114fdb2aa76495c4c748acf6b9c7fbecc89 (patch) | |
tree | 330d70c0bb3ea1f436532e3d5eb1a10b84227fba /gcc/system.h | |
parent | 0249744a9fe0775c2c895727aeebec4c59fd5f95 (diff) | |
download | gcc-3a910114fdb2aa76495c4c748acf6b9c7fbecc89.zip gcc-3a910114fdb2aa76495c4c748acf6b9c7fbecc89.tar.gz gcc-3a910114fdb2aa76495c4c748acf6b9c7fbecc89.tar.bz2 |
tree-optimization/114249 - ICE with BB reduction vectorization
When we scrap the last def of an odd lane numbered BB reduction
we can end up recording a pattern def which will later wreck
code generation. The following puts this logic where it better
belongs, avoiding this issue.
PR tree-optimization/114249
* tree-vect-slp.cc (vect_build_slp_instance): Move making
a BB reduction lane number even ...
(vect_slp_check_for_roots): ... here to avoid leaking
pattern defs.
* gcc.dg/vect/bb-slp-pr114249.c: New testcase.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions