https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #21 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>: https://gcc.gnu.org/g:69bcf1d6aa52a531f7bc4976e407325fe9742cf6 commit r16-342-g69bcf1d6aa52a531f7bc4976e407325fe9742cf6 Author: Andrew Pinski <quic_apin...@quicinc.com> Date: Thu May 1 09:05:47 2025 -0700 vect: Use internal storage for converts for call into supportable_indirect_convert_operation [PR118617] While looking into PR 118616, I noticed that supportable_indirect_convert_operation only pushes up to 2 into its vec. And the 2 places which call supportable_indirect_convert_operation, use an auto_vec but without an internal storage. In this case an internal storage of 2 elements would save both memory and slight compile time performance. Bootstrapped and tested on x86_64-linux-gnu. PR tree-optimization/118617 gcc/ChangeLog: * tree-vect-generic.cc (expand_vector_conversion): Have 2 elements as internal storage for converts. * tree-vect-stmts.cc (vectorizable_conversion): Likewise. Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>