https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30104
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30104
Andrew Pinski changed:
What|Removed |Added
Keywords||TREE
Last reconfirmed|2006-12-07 14:17:
--- Comment #4 from dann at godzilla dot ics dot uci dot edu 2006-12-07
18:24 ---
(In reply to comment #3)
> unswitching would duplicate the whole loop here, so not exactly I think. But
> if-conversion to
>
> j = COND_EXPR
>
> or
>
> j = 2 - (int)p;
>
> would make j loop invar
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-12-07 16:49 ---
unswitching would duplicate the whole loop here, so not exactly I think. But
if-conversion to
j = COND_EXPR
or
j = 2 - (int)p;
would make j loop invariant.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?i
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-07 16:46 ---
isn't this the same as loop unswitching?
PS This was done from a PS3!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30104
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-12-07 14:17 ---
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
CC|