Hi!

On Thu, Mar 12, 2020 at 02:43:06PM -0700, Jim Wilson wrote:
> I looked at combine because I'm familiar with that pass, but the ree
> pass might be the right place to handle this.

IMO, part of this should perhaps be done on Gimple already.  But the part
that should be done on RTL should be done *early*, it should start before
the loop optimisations, and it should be *finished* before combine.

>  I don't know if it has
> any support for handling if statements.  If not, maybe it could be
> extended to handle cases like this.

No, combine cannot do anything that crosses basic blocks.


Segher

Reply via email to