diff options
author | Richard Biener <rguenther@suse.de> | 2025-05-08 10:56:16 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-06-06 09:49:33 +0200 |
commit | 7da2b6ddf3a8371b585595231cddcb1ad0942ea4 (patch) | |
tree | e7c496912cb69a75cdbfad35ae8c6ba414723d93 /gcc/tree-ssa-phiopt.cc | |
parent | 05ef04d644c1a460b3af266a7766001c93fe1a6a (diff) | |
download | gcc-7da2b6ddf3a8371b585595231cddcb1ad0942ea4.zip gcc-7da2b6ddf3a8371b585595231cddcb1ad0942ea4.tar.gz gcc-7da2b6ddf3a8371b585595231cddcb1ad0942ea4.tar.bz2 |
tree-optimization/116352 - amend previous fix
The previous fix restricted external vector builds to defs from
the same basic-block. That turns out too restrictive so we have
to mitigate the original issue in a different way which is
restricting it to the original case where all defs are in the
same basic-block.
PR tree-optimization/116352
* tree-vect-slp.cc (vect_build_slp_tree_2): When compressing
operands from a two-operator node make sure the resulting
operation does not mix defs from different basic-blocks.
(cherry picked from commit 1e8bd720b1a618a39e2a41eec05e935c32d295f3)
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions