This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix SPEC ICE - violating loop-closed-form in the vectorizer
Hello,
> > tree-ssa-loop-manip.c:split_loop_exit_edge?
> >
> Maybe, but it goes beyond that. I noticed a fair bit of
> code duplication between the vectorizer and the loop manipulation
> functions. In particular, the functions that replicate loop
> bodies.
>
> There are lots of opportunities for factoring common code there.
yes, we know :-(. Due to time restrictions, we did not manage to get
autovectorizer to use the shared functions before lno branch merge
(there were some attempts, but it was judged too risky to pursue them
just before or even during the merge). The plan was to clean this up
after the merge, but apparently nobody had time to do it yet.
Zdenek