> Here is a new patch, modifying tree-ssa-math-opts.c as you suggested.
> It's indeed simpler :-)
> 
> Validated with qemu-arm on target arm-none-linux-gnueabi.

I cannot formally approve, but this looks good to me.

However, could you check that this is also an improvement for PowerPC, which 
is the only other mainstream architecture with a bswaphi pattern AFAIK?

-- 
Eric Botcazou

Reply via email to