public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Lehua Ding <lehua.ding@rivai.ai>
To: Vladimir Makarov <vmakarov@redhat.com>, gcc-patches@gcc.gnu.org
Cc: richard.sandiford@arm.com, juzhe.zhong@rivai.ai
Subject: Re: [PATCH V3 4/7] ira: Support subreg copy
Date: Sat, 18 Nov 2023 16:00:33 +0800	[thread overview]
Message-ID: <F193F8C0660A4E19+923aba1f-1962-428b-a2f5-ea5ee4d8f231@rivai.ai> (raw)
In-Reply-To: <3226cee3-c8a5-075e-927f-e02f2c4d9021@redhat.com>

Hi Vladimir,

On 2023/11/17 22:05, Vladimir Makarov wrote:
> 
> On 11/16/23 21:06, Lehua Ding wrote:
>> Hi Vladimir,
>>
>> Thank you so much for your review. Based on your comments, I feel like 
>> there are a lot of issues, especially the long compile time issue. So 
>> I'm going to reorganize and refactor the patches so that as many of 
>> them as possible can be reviewed separately. this way there will be 
>> fewer patches to support subreg in the end. I plan to split it into 
>> four separate patches like bellow. What do you think?
>>
> I can wait for the new version patches.  The only issue is stage1 deadline.
> 
> In my opinion, I'd recommend to work on the patches more and start their 
> submission right before GCC-14 release (somewhere in April).

Quite agree, I'll rewrite the patches a bit better before resend new 
version patchs, stage 1 is definitely too late. When you say before 
GCC-14 release do you mean at GCC 14 stage 3? Is it possible to commit 
such changes at stage 3? I was thinking that if I miss GCC 14 stage 1 I 
should have to wait until GCC 15 stage 1.

> You need a lot of testing for the patches: major targets (x86-64, 
> aarhc64, ppc64), some big endian targets, a 32-bit targets. Knowing how 
> even small changes in RA can affect many targets, e.g. GCC testsuite 
> results (there are a lot of different target tests which expect a 
> particular output),  it is better to do this on stabilized GCC and 
> stage3 is the best time for this.  In any case I'll approve patches only 
> if you have successful bootstraps and no GCC testsuite regression on 
> x86-64, ppc64le/be, aarhc64, i686.
> 
> Also you have a lot of compile time performance issues which you need to 
> address.  So I guess you will be overwhelmed by new different target PRs 
> after committing the patches if you will do this now.  You will have 
> more time and less pressure work if you commit these patches in April.

Hmmmmm, I'll test the targets I can get first. I'll figure out the other 
targets later.

> You changes are massive and in a critical part of GCC, it is better to 
> do all of this on public git branch in order to people can try this and 
> test their targets.

Okay, I'll try.

> But it is up to you to decide when submit the patches.  Still besides 
> approval of your patches, you need successful testing.  If new testsuite 
> failures occur after submitting the patch and they are not fixed during 
> short period of time, the patches should be reverted.
> 
>>  1. live_subreg problem
>> 2. conflict_hard_regs check refactoring
>> 3. use object instead of allocno to create copies
>> 4. support subreg coalesce
>>    4.1 ira: Apply live_subreg data to ira
>>    4.2 lra: Apply live_subreg data to lra
>>    4.3 ira: Support subreg liveness track
>>    4.4 lra: Support subreg liveness track
>>
>> So for the two patches about LRA, maybe you can stop review and wait 
>> for the revised patchs.
>>
>>
> Sure. So far I only had a quick glance on them.
> 
> 

-- 
Best,
Lehua (RiVAI)

  reply	other threads:[~2023-11-18  8:00 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-12 12:08 [PATCH V3 0/7] ira/lra: Support subreg coalesce Lehua Ding
2023-11-12 12:08 ` [PATCH V3 1/7] df: Add DF_LIVE_SUBREG problem Lehua Ding
2023-11-13 22:38   ` Vladimir Makarov
2023-11-14  8:14     ` Richard Biener
2023-11-14  8:38       ` Lehua Ding
2023-11-14  9:03         ` Richard Biener
2023-11-14 14:52           ` Vladimir Makarov
2023-11-14 17:18         ` Vladimir Makarov
2023-11-14 18:29           ` Vladimir Makarov
2023-11-20 20:11   ` Richard Sandiford
2023-11-21  6:35     ` Lehua Ding
2023-11-12 12:08 ` [PATCH V3 2/7] ira: Switch to live_subreg data Lehua Ding
2023-11-14 20:26   ` Vladimir Makarov
2023-11-12 12:08 ` [PATCH V3 3/7] ira: Support subreg live range track Lehua Ding
2023-11-14 20:37   ` Vladimir Makarov
2023-11-12 12:08 ` [PATCH V3 4/7] ira: Support subreg copy Lehua Ding
2023-11-16 21:13   ` Vladimir Makarov
2023-11-17  2:06     ` Lehua Ding
2023-11-17 14:05       ` Vladimir Makarov
2023-11-18  8:00         ` Lehua Ding [this message]
2023-11-18  8:06           ` Sam James
2023-11-18  8:16             ` Lehua Ding
2023-11-18  8:24               ` Sam James
2023-11-18  8:27                 ` Lehua Ding
2023-11-12 12:08 ` [PATCH V3 5/7] ira: Add all nregs >= 2 pseudos to tracke subreg list Lehua Ding
2023-11-16 21:14   ` Vladimir Makarov
2023-11-12 12:08 ` [PATCH V3 6/7] lra: Switch to live_subreg data flow Lehua Ding
2023-11-12 12:08 ` [PATCH V3 7/7] lra: Support subreg live range track and conflict detect Lehua Ding
2023-11-13 16:43 ` [PATCH V3 0/7] ira/lra: Support subreg coalesce Dimitar Dimitrov
2023-11-15  2:10   ` Lehua Ding
2023-11-13 19:37 ` Vladimir Makarov
2023-11-14  5:37   ` Lehua Ding
2023-11-14 23:33     ` Peter Bergner
2023-11-14 23:22 ` Peter Bergner
2023-11-15  3:12   ` Lehua Ding
2023-11-15  3:33     ` Peter Bergner

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=F193F8C0660A4E19+923aba1f-1962-428b-a2f5-ea5ee4d8f231@rivai.ai \
    --to=lehua.ding@rivai.ai \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=juzhe.zhong@rivai.ai \
    --cc=richard.sandiford@arm.com \
    --cc=vmakarov@redhat.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).