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.
}
/* 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. */