]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ifcvt: Fix comments
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Wed, 27 Sep 2023 06:51:21 +0000 (14:51 +0800)
committerPan Li <pan2.li@intel.com>
Wed, 27 Sep 2023 07:24:46 +0000 (15:24 +0800)
Fix comments since original comment is confusing.

gcc/ChangeLog:

* tree-if-conv.cc (is_cond_scalar_reduction): Fix comments.

gcc/tree-if-conv.cc

index 799f071965e5c41eb352b5530cf1d9c7ecf7bf25..a8c915913aed267edfb3ebd2c530aeca7cf51832 100644 (file)
@@ -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))
     {