public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] cselib: Skip BImode while keeping track of subvalue relations [PR107088]
Date: Fri, 7 Oct 2022 08:15:49 -0600	[thread overview]
Message-ID: <18d7d1c0-1e05-8e30-6f16-0665d15be184@gmail.com> (raw)
In-Reply-To: <Yz5+aD2KksUmNLAe@li-42a4824c-28a0-11b2-a85c-f55c0d5956ce.ibm.com>


On 10/6/22 01:06, Stefan Schulze Frielinghaus wrote:
> On Wed, Oct 05, 2022 at 08:48:13PM -0600, Jeff Law via Gcc-patches wrote:
>> On 10/4/22 05:28, Stefan Schulze Frielinghaus via Gcc-patches wrote:
>>> For BImode get_narrowest_mode evaluates to QImode but BImode < QImode.
>>> Thus FOR_EACH_MODE_UNTIL never reaches BImode and iterates until OImode
>>> for which no wider mode exists so we end up with VOIDmode and fail.
>>> Fixed by adding a size guard so we effectively skip BImode.
>>>
>>> Bootstrap and regtest are currently running on x64.  Assuming they pass
>>> ok for mainline?
>>>
>>> gcc/ChangeLog:
>>>
>>> 	PR rtl-optimization/107088
>>> 	* cselib.cc (new_cselib_val): Skip BImode while keeping track of
>>> 	subvalue relations.
>> OK.  And FWIW, this fixes the various failures I saw in my tester due to the
>> cselib patches.
> Thanks for testing, too!  Out of curiosity which target is your tester?
> I gave it a try on x64 and AArch64 for which bootstrap went fine and
> regtest showed no difference, and of course, for s390x regtest went for
> the better.

It's got at least one representative from most of the targets supported 
by gcc.


http://law-sandy.freeddns.org:8080 will get you to the jenkins instance.


Jeff




      reply	other threads:[~2022-10-07 14:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 11:28 Stefan Schulze Frielinghaus
2022-10-06  2:48 ` Jeff Law
2022-10-06  7:06   ` Stefan Schulze Frielinghaus
2022-10-07 14:15     ` Jeff Law [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=18d7d1c0-1e05-8e30-6f16-0665d15be184@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=stefansf@linux.ibm.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).