https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115597
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:2a345214fc332b6f0821edf394ff8802b768db1d commit r15-1565-g2a345214fc332b6f0821edf394ff8802b768db1d Author: Richard Biener <rguent...@suse.de> Date: Sun Jun 23 11:26:39 2024 +0200 tree-optimization/115597 - allow CSE of two-operator VEC_PERM nodes The following makes sure to always CSE when there's SLP_TREE_SCALAR_STMTS as otherwise a chain of two-operator node operations can result in exponential behavior of the CSE process as likely seen when building 510.parest on aarch64. PR tree-optimization/115597 * tree-vect-slp.cc (vect_cse_slp_nodes): Allow to CSE VEC_PERM nodes.