targhooks.c (default_add_stmt_cost): Call target specific hook instead of default one.
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
This commit is contained in:
parent
f185af3614
commit
58e5400aec
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1073,8 +1073,8 @@ default_add_stmt_cost (void *data, int count, enum vect_cost_for_stmt kind,
|
|||
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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue