[Bug tree-optimization/60042] vectorizer still does too many dependence tests for himeno:jacobi

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 4 13:34:00 GMT 2014


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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> Bah, and with -fipa-pta -Ofast -fwhole-program we now _do_ see that there
> isn't any aliasing but PRE messes up the loop and creates loop carried
> dependencies ... :/

Ok, that's because PRE would be the one to make the array loads base
addresses simple induction variables (it performs invariant motion of the
address load from the global matrix struct).  Thus inhibit_phi_insertion
returns false.  Looks like ordering of PRE / LIM isn't too great when
considering such cases.



More information about the Gcc-bugs mailing list