This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH, stage1] Move insns without introducing new temporaries in loop2_invariant
- From: "Thomas Preud'homme" <thomas dot preudhomme at arm dot com>
- To: "'Steven Bosscher'" <stevenb dot gcc at gmail dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Eric Botcazou" <ebotcazou at libertysurf dot fr>
- Date: Tue, 10 Mar 2015 15:35:33 +0800
- Subject: RE: [PATCH, stage1] Move insns without introducing new temporaries in loop2_invariant
- Authentication-results: sourceware.org; auth=none
- References: <000101d0572a$2de1f390$89a5dab0$ at arm dot com> <CABu31nMAoSy5U30-bjj7iWCL9+0fJfWZMo00yx5mw7UHrJQ+xA at mail dot gmail dot com>
> From: Steven Bosscher [mailto:stevenb.gcc@gmail.com]
> Sent: Monday, March 09, 2015 7:48 PM
> To: Thomas Preud'homme
> Cc: GCC Patches; Eric Botcazou
> Subject: Re: [PATCH, stage1] Move insns without introducing new
> temporaries in loop2_invariant
>
> On Thu, Mar 5, 2015 at 10:53 AM, Thomas Preud'homme wrote:
> > diff --git a/gcc/dominance.c b/gcc/dominance.c
> > index 33d4ae4..09c8c90 100644
> > --- a/gcc/dominance.c
> > +++ b/gcc/dominance.c
> > @@ -982,7 +982,7 @@ nearest_common_dominator_for_set (enum
> cdi_direction dir, bitmap blocks)
> >
> > A_Dominated_by_B (node A, node B)
> > {
> > - return DFS_Number_In(A) >= DFS_Number_In(A)
> > + return DFS_Number_In(A) >= DFS_Number_In(B)
> > && DFS_Number_Out (A) <= DFS_Number_Out(B);
> > } */
>
> This hunk is obvious enough ;-)
Thus committed.
Best regards,
Thomas