On 6/4/23 23:53, Andrew Pinski via Gcc-patches wrote:
In r14-1534-g908e5ab5c11c, I forgot you could turn off CCP or
turn off the bit tracking part of CCP so we would lose out
what TER was able to do before hand. This moves around the
TER code so that it is used instead of just the nonzerobits.
It also makes it easier to remove the TER part of the code
later on too.
Given that we want to kill TER, that seems like a good idea :-)


OK? Bootstrapped and tested on x86_64-linux-gnu.

Note it reintroduces PR 110117 (which was accidently fixed after
r14-1534-g908e5ab5c11c). The next patch in series will fix that.

gcc/ChangeLog:

        * expr.cc (do_store_flag): Rearrange the
        TER code so that it overrides the nonzero bits
        info if we had `a & POW2`.
OK.
jeff

Reply via email to