[Bug tree-optimization/67681] Missed vectorization: induction variable used after loop

alalaw01 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 23 10:17:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67681

--- Comment #2 from alalaw01 at gcc dot gnu.org ---
Being stupid here, but why does the outer loop having multiple exits matter -
it's the inner loop that should be vectorized?

FOO was a macro used to selectively make the test i>max disappear (enabling
vectorization) - the two commandlines had -DFOO=0 (vectorizes) and -DFOO=1
(doesn't).



More information about the Gcc-bugs mailing list