[Bug optimization/11601] if-conversion2 gets rid of branch and return when used with builtins

segher at kernel dot crashing dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 20 13:15:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11601



------- Additional Comments From segher at kernel dot crashing dot org  2003-10-20 13:15 -------
We now have

t:
        cmpwi 7,4,0
        beqlr- 7
        li 0,0
        dst 3,0,0
        blr

but the `prefetch' case is not solved yet.

Changing `prefetch' to take a memory_operand instead
of an address_operand would do the trick, I think.
This needs to be changed in generic code too, then.

This makes me think this also shows on other platforms?



More information about the Gcc-bugs mailing list