public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Move scanning pass of forwprop-19.c to dse1 for r13-3212-gb88adba751da63
@ 2022-10-17  3:24 Liwei Xu
  2022-10-17  3:43 ` Hongtao Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Liwei Xu @ 2022-10-17  3:24 UTC (permalink / raw)
  To: gcc-patches; +Cc: richard.guenther, wilson, admin, hongtao.liu

gcc/testsuite/ChangeLog:

	* gcc.dg/tree-ssa/forwprop-19.c: Move scanning pass from forwprop1 to dse1, This fixs
	the test case fail.
---
 gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
index 4d77138b206..6ca81cb6c49 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O -fdump-tree-forwprop1" } */
+/* { dg-options "-O -fdump-tree-dse1" } */
 
 typedef int vec __attribute__((vector_size (4 * sizeof (int))));
 void f (vec *x1, vec *x2)
@@ -11,4 +11,4 @@ void f (vec *x1, vec *x2)
   *x1 = z;
 }
 
-/* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "forwprop1" } } */
+/* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "dse1" } } */
-- 
2.18.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Move scanning pass of forwprop-19.c to dse1 for r13-3212-gb88adba751da63
  2022-10-17  3:24 [PATCH] Move scanning pass of forwprop-19.c to dse1 for r13-3212-gb88adba751da63 Liwei Xu
@ 2022-10-17  3:43 ` Hongtao Liu
  2022-10-17  7:07   ` Richard Biener
  0 siblings, 1 reply; 3+ messages in thread
From: Hongtao Liu @ 2022-10-17  3:43 UTC (permalink / raw)
  To: Liwei Xu; +Cc: gcc-patches, hongtao.liu, wilson, admin

On Mon, Oct 17, 2022 at 11:26 AM Liwei Xu via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> gcc/testsuite/ChangeLog:
>
>         * gcc.dg/tree-ssa/forwprop-19.c: Move scanning pass from forwprop1 to dse1, This fixs
>         the test case fail.
Looks like an obvious fix to me.
> ---
>  gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
> index 4d77138b206..6ca81cb6c49 100644
> --- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
> +++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
> @@ -1,5 +1,5 @@
>  /* { dg-do compile } */
> -/* { dg-options "-O -fdump-tree-forwprop1" } */
> +/* { dg-options "-O -fdump-tree-dse1" } */
>
>  typedef int vec __attribute__((vector_size (4 * sizeof (int))));
>  void f (vec *x1, vec *x2)
> @@ -11,4 +11,4 @@ void f (vec *x1, vec *x2)
>    *x1 = z;
>  }
>
> -/* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "forwprop1" } } */
> +/* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "dse1" } } */
> --
> 2.18.2
>


-- 
BR,
Hongtao

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Move scanning pass of forwprop-19.c to dse1 for r13-3212-gb88adba751da63
  2022-10-17  3:43 ` Hongtao Liu
@ 2022-10-17  7:07   ` Richard Biener
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Biener @ 2022-10-17  7:07 UTC (permalink / raw)
  To: Hongtao Liu; +Cc: Liwei Xu, wilson, hongtao.liu, gcc-patches, admin

On Mon, Oct 17, 2022 at 5:44 AM Hongtao Liu via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> On Mon, Oct 17, 2022 at 11:26 AM Liwei Xu via Gcc-patches
> <gcc-patches@gcc.gnu.org> wrote:
> >
> > gcc/testsuite/ChangeLog:
> >
> >         * gcc.dg/tree-ssa/forwprop-19.c: Move scanning pass from forwprop1 to dse1, This fixs
> >         the test case fail.
> Looks like an obvious fix to me.

Yes, OK.

Thanks,
Richard.

> > ---
> >  gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
> > index 4d77138b206..6ca81cb6c49 100644
> > --- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
> > +++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c
> > @@ -1,5 +1,5 @@
> >  /* { dg-do compile } */
> > -/* { dg-options "-O -fdump-tree-forwprop1" } */
> > +/* { dg-options "-O -fdump-tree-dse1" } */
> >
> >  typedef int vec __attribute__((vector_size (4 * sizeof (int))));
> >  void f (vec *x1, vec *x2)
> > @@ -11,4 +11,4 @@ void f (vec *x1, vec *x2)
> >    *x1 = z;
> >  }
> >
> > -/* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "forwprop1" } } */
> > +/* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "dse1" } } */
> > --
> > 2.18.2
> >
>
>
> --
> BR,
> Hongtao

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-17  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-17  3:24 [PATCH] Move scanning pass of forwprop-19.c to dse1 for r13-3212-gb88adba751da63 Liwei Xu
2022-10-17  3:43 ` Hongtao Liu
2022-10-17  7:07   ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).