aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-02-08 12:02:35 +0100
committerJakub Jelinek <jakub@redhat.com>2023-02-08 12:02:35 +0100
commitaa12d1b17c4557f6770f2c05d44525e105372ae6 (patch)
tree692594e0e6a50a6e8e971531ef1b2e1a89fcb061
parent8f3b85efbf549b19db4026e0ef7f4461db8cdb25 (diff)
downloadgcc-aa12d1b17c4557f6770f2c05d44525e105372ae6.zip
gcc-aa12d1b17c4557f6770f2c05d44525e105372ae6.tar.gz
gcc-aa12d1b17c4557f6770f2c05d44525e105372ae6.tar.bz2
tree.def: Remove outdated comment on SAD_EXPR
While looking at PR108692, I've noticed SAD_EXPR comment mentions that WIDEN_MINUS_EXPR is missing, which is not true anymore since r11-5160. The following patch just removes that part of the comment. 2023-02-08 Jakub Jelinek <jakub@redhat.com> * tree.def (SAD_EXPR): Remove outdated comment about missing WIDEN_MINUS_EXPR.
-rw-r--r--gcc/tree.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index 0872654..e639a03 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -1341,8 +1341,7 @@ DEFTREECODE (WIDEN_SUM_EXPR, "widen_sum_expr", tcc_binary, 2)
The first two arguments are of type t1 which should be integer.
The third argument and the result are of type t2, such that t2 is at least
twice the size of t1. Like DOT_PROD_EXPR, SAD_EXPR (arg1,arg2,arg3) is
- equivalent to (note we don't have WIDEN_MINUS_EXPR now, but we assume its
- behavior is similar to WIDEN_SUM_EXPR):
+ equivalent to:
tmp = WIDEN_MINUS_EXPR (arg1, arg2)
tmp2 = ABS_EXPR (tmp)
arg3 = PLUS_EXPR (tmp2, arg3)