public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4290] ifcvt: Fix comments
@ 2023-09-27  7:25 Pan Li
  0 siblings, 0 replies; only message in thread
From: Pan Li @ 2023-09-27  7:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c00b6fef46cdc85e825538e08074f9fcbeb7bf84

commit r14-4290-gc00b6fef46cdc85e825538e08074f9fcbeb7bf84
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Wed Sep 27 14:51:21 2023 +0800

    ifcvt: Fix comments
    
    Fix comments since original comment is confusing.
    
    gcc/ChangeLog:
    
            * tree-if-conv.cc (is_cond_scalar_reduction): Fix comments.

Diff:
---
 gcc/tree-if-conv.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/tree-if-conv.cc b/gcc/tree-if-conv.cc
index 799f071965e..a8c915913ae 100644
--- a/gcc/tree-if-conv.cc
+++ b/gcc/tree-if-conv.cc
@@ -1747,11 +1747,11 @@ is_cond_scalar_reduction (gimple *phi, gimple **reduc, tree arg_0, tree arg_1,
 
      and convert to
 
-     reduc_2 = PHI <0, reduc_3>
-     tmp1 = (unsigned type)reduce_1;
+     reduc_2 = PHI <0, reduc_1>
+     tmp1 = (unsigned type)reduc_1;
      ifcvt = cond_expr ? rhs2 : 0
      tmp2 = tmp1 +/- ifcvt;
-     reduce_1 = (signed type)tmp2;  */
+     reduc_1 = (signed type)tmp2;  */
 
   if (CONVERT_EXPR_CODE_P (reduction_op))
     {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-27  7:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27  7:25 [gcc r14-4290] ifcvt: Fix comments Pan Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).