diff options
author | Richard Biener <rguenther@suse.de> | 2022-02-23 11:15:38 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-02-23 12:14:14 +0100 |
commit | 6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb8f (patch) | |
tree | 0b5090ba37907105ef5293e1ce630aa813f56e08 /gcc/c/gimple-parser.cc | |
parent | c8cb5098c7854a1ed07e85c6165ef0c348d6df1d (diff) | |
download | gcc-6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb8f.zip gcc-6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb8f.tar.gz gcc-6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb8f.tar.bz2 |
tree-optimization/101636 - CTOR vectorization ICE
The following fixes an ICE when vectorizing the defs of a CTOR
results in a different vector type than expected. That can happen
with AARCH64 SVE and a fixed vector length as noted in r10-5979
and on x86 with AVX512 mask CTORs and trying to re-vectorize
using SSE as shown in this bug.
The fix is simply to reject the vectorization when it didn't
produce the desired type.
2022-02-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/101636
* tree-vect-slp.cc (vect_print_slp_tree): Dump the
vector type of the node.
(vect_slp_analyze_operations): Make sure the CTOR
is vectorized with an expected type.
(vectorize_slp_instance_root_stmt): Revert r10-5979 fix.
* gcc.target/i386/pr101636.c: New testcase.
* c-c++-common/torture/pr101636.c: Likewise.
Diffstat (limited to 'gcc/c/gimple-parser.cc')
0 files changed, 0 insertions, 0 deletions