On 10/25/24 5:52 AM, Alexandre Oliva wrote:

Refactor ifcombine_ifandif, moving the common code from the various
paths that apply the combined condition to a new function.


for  gcc/ChangeLog

        * tree-ssa-ifcombine.cc (ifcombine_replace_cond): Factor out
        of...
        (ifcombine_ifandif): ... this.
It looks like you also did some simplifications in ifcombine_ifandif. Those should be noted in the ChangeLog. Specifically you no longer make the calls to force_gimple_operand_gsi and simplified the equality test.

OK with that change.

jeff


Reply via email to