public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Sandiford <richard.sandiford@arm.com>
To: juzhe.zhong@rivai.ai
Cc: gcc-patches@gcc.gnu.org,  kito.cheng@gmail.com
Subject: Re: [PATCH] middle-end: Fix issue of poly_uint16 (1, 1) in self test
Date: Mon, 22 Aug 2022 10:16:01 +0100	[thread overview]
Message-ID: <mpto7wck59q.fsf@arm.com> (raw)
In-Reply-To: <20220822090941.131517-1-juzhe.zhong@rivai.ai> (juzhe zhong's message of "Mon, 22 Aug 2022 17:09:41 +0800")

juzhe.zhong@rivai.ai writes:
> From: zhongjuzhe <juzhe.zhong@rivai.ai>
>
> This patch fix issue of poly_uint16 (1, 1) in machine mode self test.
>
> gcc/ChangeLog:
>
>         * simplify-rtx.cc (test_vector_subregs_fore_back): Make first value and repeat value different.

Thanks, pushed.

Richard

>
> ---
>  gcc/simplify-rtx.cc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/simplify-rtx.cc b/gcc/simplify-rtx.cc
> index 7d09bf7103d..fc0d6c3ca2a 100644
> --- a/gcc/simplify-rtx.cc
> +++ b/gcc/simplify-rtx.cc
> @@ -8434,7 +8434,7 @@ test_vector_subregs_fore_back (machine_mode inner_mode)
>    for (unsigned int i = 0; i < count; ++i)
>      builder.quick_push (gen_int_mode (i, int_mode));
>    for (unsigned int i = 0; i < count; ++i)
> -    builder.quick_push (gen_int_mode (-(int) i, int_mode));
> +    builder.quick_push (gen_int_mode (-1 - (int) i, int_mode));
>    rtx x = builder.build ();
>  
>    test_vector_subregs_modes (x);

      reply	other threads:[~2022-08-22  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22  9:09 juzhe.zhong
2022-08-22  9:16 ` Richard Sandiford [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mpto7wck59q.fsf@arm.com \
    --to=richard.sandiford@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=juzhe.zhong@rivai.ai \
    --cc=kito.cheng@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).