From c885142a15687c39f6f46c23d7c40afc817ff7a9 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 9 Oct 2018 11:37:46 +0000 Subject: [PATCH] tree-vectorizer.c (dump_stmt_cost): Fix cut&paste missing replacements. 2018-10-09 Richard Biener * tree-vectorizer.c (dump_stmt_cost): Fix cut&paste missing replacements. From-SVN: r264954 --- gcc/ChangeLog | 5 +++++ gcc/tree-vectorizer.c | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ccb6e1138e..706497b3012 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-09 Richard Biener + + * tree-vectorizer.c (dump_stmt_cost): Fix cut&paste missing + replacements. + 2018-10-09 Martin Liska * asan.c (asan_emit_stack_protection): If a stack variable diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 0ab366b79a3..60ee7f6380c 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -129,31 +129,31 @@ dump_stmt_cost (FILE *f, void *data, int count, enum vect_cost_for_stmt kind, ks = "unaligned_store"; break; case vector_store: - ks = "unaligned_store"; + ks = "vector_store"; break; case vector_scatter_store: - ks = "unaligned_store"; + ks = "vector_scatter_store"; break; case vec_to_scalar: - ks = "unaligned_store"; + ks = "vec_to_scalar"; break; case scalar_to_vec: - ks = "unaligned_store"; + ks = "scalar_to_vec"; break; case cond_branch_not_taken: - ks = "unaligned_store"; + ks = "cond_branch_not_taken"; break; case cond_branch_taken: - ks = "unaligned_store"; + ks = "cond_branch_taken"; break; case vec_perm: - ks = "unaligned_store"; + ks = "vec_perm"; break; case vec_promote_demote: - ks = "unaligned_store"; + ks = "vec_promote_demote"; break; case vec_construct: - ks = "unaligned_store"; + ks = "vec_construct"; break; } fprintf (f, "%s ", ks); -- 2.30.2