From: Richard Biener Date: Thu, 26 Feb 2026 13:46:36 +0000 (+0100) Subject: Do not pass vector type to scalar costing X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=982ec7e719bf3cc7d67849dd5e32745fd8308093;p=thirdparty%2Fgcc.git Do not pass vector type to scalar costing The following drops passing of the vector type to scalar stmt costing for BB vectorization. * tree-vect-slp.cc (vect_bb_slp_scalar_cost): Do not pass vector type to costing. --- diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc index 185ff6fb542..cec3c2b9589 100644 --- a/gcc/tree-vect-slp.cc +++ b/gcc/tree-vect-slp.cc @@ -9598,7 +9598,7 @@ next_lane: else kind = scalar_stmt; record_stmt_cost (cost_vec, 1, kind, orig_stmt_info, - SLP_TREE_VECTYPE (node), 0, vect_body); + NULL_TREE, 0, vect_body); } auto_vec subtree_life;