diff options
author | Richard Biener <rguenther@suse.de> | 2024-09-11 13:54:33 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-09-11 14:56:10 +0200 |
commit | 09a514fbb67caf7e33a6ceddf524ee21024c33c5 (patch) | |
tree | 30f4ca228feaddd6b1897e72663f7025dc1dc06a /libcpp | |
parent | 3fd07d4f04f43816a038daf9b16c6d5bf2e96c9b (diff) | |
download | gcc-09a514fbb67caf7e33a6ceddf524ee21024c33c5.zip gcc-09a514fbb67caf7e33a6ceddf524ee21024c33c5.tar.gz gcc-09a514fbb67caf7e33a6ceddf524ee21024c33c5.tar.bz2 |
tree-optimization/116674 - vectorizable_simd_clone_call and re-analysis
When SLP analysis scraps an instance because it fails to analyze we
can end up calling vectorizable_* in analysis mode on a node that
was analyzed during the analysis of that instance again.
vectorizable_simd_clone_call wasn't expecting that and instead
guarded analysis/transform code on populated data structures.
The following changes it so it survives re-analysis.
PR tree-optimization/116674
* tree-vect-stmts.cc (vectorizable_simd_clone_call): Support
re-analysis.
* g++.dg/vect/pr116674.cc: New testcase.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions