aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-04-13 09:47:45 +0200
committerJakub Jelinek <jakub@redhat.com>2022-04-13 09:47:45 +0200
commitccb5e638370cd228032d5a8c0ca343c46caaa4b4 (patch)
tree4fb33b608ab599f5c529900b4770fd6030aa3960
parentdb14bb4c6bf595eb0f42ea745516d24af78335f7 (diff)
downloadgcc-ccb5e638370cd228032d5a8c0ca343c46caaa4b4.zip
gcc-ccb5e638370cd228032d5a8c0ca343c46caaa4b4.tar.gz
gcc-ccb5e638370cd228032d5a8c0ca343c46caaa4b4.tar.bz2
scev: Fix a comment typo
When looking at the kernel __popcountdi2 issue, I've noticed a comment typo. 2022-04-13 Jakub Jelinek <jakub@redhat.com> * tree-scalar-evolution.cc (expression_expensive_p): Fix a comment typo.
-rw-r--r--gcc/tree-scalar-evolution.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-scalar-evolution.cc b/gcc/tree-scalar-evolution.cc
index 61d72c2..4415726 100644
--- a/gcc/tree-scalar-evolution.cc
+++ b/gcc/tree-scalar-evolution.cc
@@ -3395,7 +3395,7 @@ expression_expensive_p (tree expr, hash_map<tree, uint64_t> &cache,
call_expr_arg_iterator iter;
/* Even though is_inexpensive_builtin might say true, we will get a
library call for popcount when backend does not have an instruction
- to do so. We consider this to be expenseive and generate
+ to do so. We consider this to be expensive and generate
__builtin_popcount only when backend defines it. */
combined_fn cfn = get_call_combined_fn (expr);
switch (cfn)