diff options
author | Andrew Pinski <pinskia@gmail.com> | 2023-11-05 19:27:51 -0800 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-08-15 17:11:01 -0700 |
commit | 9381d52893a77edf2983d72b41f64063ee7cd4bd (patch) | |
tree | 1af25d99e363d4a67baa8f1abbff38b387c2f74a | |
parent | b0d041f0d4cace06433bf18ae53c40376f2088a7 (diff) | |
download | gcc-9381d52893a77edf2983d72b41f64063ee7cd4bd.zip gcc-9381d52893a77edf2983d72b41f64063ee7cd4bd.tar.gz gcc-9381d52893a77edf2983d72b41f64063ee7cd4bd.tar.bz2 |
PHIOPT: Fix comment before factor_out_conditional_operation
I didn't update the comment before factor_out_conditional_operation
correctly. this updates it to be correct and mentions unary operations
rather than just conversions.
Pushed as obvious.
gcc/ChangeLog:
* tree-ssa-phiopt.cc (factor_out_conditional_operation): Update
comment.
-rw-r--r-- | gcc/tree-ssa-phiopt.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiopt.cc b/gcc/tree-ssa-phiopt.cc index f05ca72..aacccc4 100644 --- a/gcc/tree-ssa-phiopt.cc +++ b/gcc/tree-ssa-phiopt.cc @@ -212,7 +212,7 @@ replace_phi_edge_with_variable (basic_block cond_block, } /* PR66726: Factor operations out of COND_EXPR. If the arguments of the PHI - stmt are CONVERT_STMT, factor out the conversion and perform the conversion + stmt are Unary operator, factor out the operation and perform the operation to the result of PHI stmt. COND_STMT is the controlling predicate. Return the newly-created PHI, if any. */ |