diff options
author | Richard Biener <rguenther@suse.de> | 2024-06-24 09:52:39 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-06-24 13:45:16 +0200 |
commit | c43c74f6ec795a586388de7abfdd20a0040f6f16 (patch) | |
tree | a20c95ea2767c05a9ae2a52e543e71b8bbd3496f /gcc/dwarf2codeview.h | |
parent | 2f83ea87ee328d337f87d4430861221be9babe1e (diff) | |
download | gcc-c43c74f6ec795a586388de7abfdd20a0040f6f16.zip gcc-c43c74f6ec795a586388de7abfdd20a0040f6f16.tar.gz gcc-c43c74f6ec795a586388de7abfdd20a0040f6f16.tar.bz2 |
tree-optimization/115602 - SLP CSE results in cycles
The following prevents SLP CSE to create new cycles which happened
because of a 1:1 permute node being present where its child was then
CSEd to the permute node. Fixed by making a node only available to
CSE to after recursing.
PR tree-optimization/115602
* tree-vect-slp.cc (vect_cse_slp_nodes): Delay populating the
bst-map to avoid cycles.
* gcc.dg/vect/pr115602.c: New testcase.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions