On 9/7/26 8:43 AM, [email protected] wrote:
From: Kyrylo Tkachov <[email protected]>

noce_convert_multiple_sets decodes the jump condition with
noce_get_condition and then calls noce_convert_multiple_sets_1 twice, each
call decoding the very same condition again into a cond_earliest local that
it never reads.  Pass the already-decoded condition into the helper and drop
the repeated decode and the dead local.  No functional change.

gcc/ChangeLog:

        * ifcvt.cc (noce_convert_multiple_sets_1): Take the condition as a
        parameter instead of re-decoding it.  Remove the unused cond_earliest
        local.
        (noce_convert_multiple_sets): Pass the decoded condition down.

Signed-off-by: Kyrylo Tkachov <[email protected]>
OK
jeff

Reply via email to