[Bug tree-optimization/18754] unrolling happens too late/SRA does not happen late enough

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 20 15:07:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-20 15:07 -------
(In reply to comment #9)
> Subject: Re:  unrolling happens too late/SRA
>  does not happen late enough
> 
> which is what we want?  Or do we now just paper over another problem here?

Yes you are paper over another problem.  The point is ivopts and unroll are interacting badly here, how 
I don't know, but unroll is not marking the new ADDR_EXPR as invariant which causes the problem I am 
see. No SRA should happen after loop.  Nothing else at least for the current time. Loop setup is too 
slow at this point.  Once we have more and more optimizations which keep uptodate the loop structors 
we can do an early unrolling.

-- 


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



More information about the Gcc-bugs mailing list