2015-04-21 Richard Biener <rguenther@suse.de>
* config/i386/i386.c (ix86_builtin_vectorization_cost): Scale
vec_construct cost by vec_stmt_cost.
From-SVN: r222265
+2015-04-21 Richard Biener <rguenther@suse.de>
+
+ * config/i386/i386.c (ix86_builtin_vectorization_cost): Scale
+ vec_construct cost by vec_stmt_cost.
+
2015-04-21 Richard Biener <rguenther@suse.de>
* cfghooks.h (create_basic_block): Replace with two overloads
case vec_construct:
elements = TYPE_VECTOR_SUBPARTS (vectype);
- return elements / 2 + 1;
+ return ix86_cost->vec_stmt_cost * (elements / 2 + 1);
default:
gcc_unreachable ();