2014-06-06 Bingfeng Mei <bmei@broadcom.com>
* targhooks.c (default_add_stmt_cost): Call target specific
hook instead of default one.
From-SVN: r211311
+2014-06-06 Bingfeng Mei <bmei@broadcom.com>
+
+ * targhooks.c (default_add_stmt_cost): Call target specific
+ hook instead of default one.
+
2014-06-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
* ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target
unsigned retval = 0;
tree vectype = stmt_info ? stmt_vectype (stmt_info) : NULL_TREE;
- int stmt_cost = default_builtin_vectorization_cost (kind, vectype,
- misalign);
+ int stmt_cost = targetm.vectorize.builtin_vectorization_cost (kind, vectype,
+ misalign);
/* Statements in an inner loop relative to the loop being
vectorized are weighted more heavily. The value here is
arbitrary and could potentially be improved with analysis. */