This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Add #pragma ivdep support to the ME and C FE
- From: Richard Biener <rguenther at suse dot de>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Tobias Burnus <burnus at net-b dot de>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 24 Oct 2013 16:31:41 +0200 (CEST)
- Subject: Re: Patch: Add #pragma ivdep support to the ME and C FE
- Authentication-results: sourceware.org; auth=none
- References: <20131016142449 dot GA2553 at physik dot fu-berlin dot de> <alpine dot LNX dot 2 dot 00 dot 1310170959210 dot 11149 at zhemvz dot fhfr dot qr> <20131017083608 dot GC30970 at tucnak dot zalov dot cz> <52658A0A dot 7060809 at net-b dot de> <alpine dot LNX dot 2 dot 00 dot 1310231417380 dot 11149 at zhemvz dot fhfr dot qr> <526927B2 dot 3080000 at net-b dot de> <20131024142030 dot GB30970 at tucnak dot zalov dot cz>
On Thu, 24 Oct 2013, Jakub Jelinek wrote:
> On Thu, Oct 24, 2013 at 03:59:14PM +0200, Tobias Burnus wrote:
> > + FOR_EACH_LOOP (li, loop, 0)
> > + if (loop->latch)
> > + FOR_EACH_EDGE (e, ei, loop->latch->succs)
>
> Isn't the only successor of loop->latch loop->header?
> Thus, can't you just remove the above two lines and use loop->header
> instead of e->dest?
Yes, of course.
Richard.